AploSec / Disclosures / CVE-2026-142240
OWASP Coraza through 3.8.1 Request Body Inspection Bypass via Content-Type Unicode Whitespace
CVE-2026-142240 · published 2026-12-02
In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). No fixed release is listed yet.
Summary
CVE-2026-142240 affects Coraza (Go) <= 3.8.1: Request Body Inspection Bypass via Content-Type Unicode Whitespace (CWE-436). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/owasp-coraza-through-3.8.1-request-body-inspection-bypass-via-content-type-unicode-whitespace
- Vulnerable codehttps://github.com/corazawaf/coraza/blob/v3.8.1/coraza.conf-recommended#L31-L45
- Vulnerable codehttps://github.com/corazawaf/coraza/blob/v3.8.1/internal/corazawaf/transaction.go#L395-L417
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142240
- Severity
- Medium 6.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Coraza
- Ecosystem
- Go
- Affected
- <= 3.8.1
- Fixed
- None
- Weakness
- CWE-436
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder