CVE-2026-142240: OWASP Coraza through 3.8.1 Request Body Inspection Bypass via Content-Type Unicode Whitespace
OWASP Coraza through 3.8.1 contains a request body inspection bypass that allows unauthenticated remote attackers to evade JSON and XML body processing via leading Unicode whitespace in Content-Type. Attackers can prefix application/json or XML media types with a character such as U+00A0 so recommended rules 200000, 200001 and 200006 fail, delivering uninspected payloads to backends using mime.ParseMediaType.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this bypass?
Deployments of OWASP Coraza through 3.8.1 are exposed when they rely on the recommended JSON or XML request-body processing rules and forward requests to backends that parse the Content-Type value with mime.ParseMediaType.
What does an attacker need to do to exploit it?
No authentication or user interaction is required. The attacker must send a request whose Content-Type prefixes application/json or an XML media type with leading Unicode whitespace, such as U+00A0, causing the relevant body-processing rules not to match.
Which protections can be bypassed?
The bypass affects recommended rules 200000, 200001, and 200006. As a result, JSON and XML payloads can reach the backend without Coraza body inspection.