CVE-2026-21876: OWASP CRS has multipart bypass using multiple content-type parts
The OWASP core rule set (CRS) is a set of generic attack detection rules for use with compatible web application firewalls. Prior to versions 4.22.0 and 3.3.8, the current rule 922110 has a bug when processing multipart requests with multiple parts. When the first rule in a chain iterates over a collection (like MULTIPARTPARTHEADERS), the capture variables (TX:0, TX:1) get overwritten with each iteration. Only the last captured value is available to the chained rule, which means malicious charsets in earlier parts can be missed if a later part has a legitimate charset. Versions 4.22.0 and 3.3.8 patch the issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-21876?
CVE-2026-21876 is considered a moderate severity vulnerability affecting the OWASP core rule set.
How do I fix CVE-2026-21876?
To fix CVE-2026-21876, upgrade to OWASP core rule set versions 4.22.0 or 3.3.8 and above.
What types of requests are impacted by CVE-2026-21876?
CVE-2026-21876 impacts the processing of multipart requests with multiple parts.
Which versions of OWASP core rule set are vulnerable to CVE-2026-21876?
Versions prior to 4.22.0 and 3.3.8 of the OWASP core rule set are vulnerable to CVE-2026-21876.
What is the nature of the bug in CVE-2026-21876?
CVE-2026-21876 involves a bug in rule 922110 that can lead to improper processing of multipart requests.