CVE-2026-21876

OWASP CRS has multipart bypass using multiple content-type parts

State
Published
Severity
9.3 Critical
Published
Jan 8, 2026
Updated
Apr 9, 2026
Reserved
Jan 5, 2026

Read the record on cve.org

Description

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 `MULTIPART_PART_HEADERS`), 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.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-794 Incomplete Filtering of Multiple Instances of Special Elements

Affected Products

ProductVersions
corerulesetcoreruleset
  • < 4.22.0Affected
  • < 3.3.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.