# CVE-2026-21876: OWASP CRS has multipart bypass using multiple content-type parts

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.96%, higher than 81% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-01-08T13:55:37.102Z
- Modified: 2026-06-17T10:19:04.413Z
- Weaknesses: CWE-794
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coreruleset coreruleset: < 4.22.0; < 3.3.8
- owasp owasp_modsecurity_core_rule_set: before 3.3.8; from 4.0.0 before 4.22.0

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/coreruleset/coreruleset/security/advisories/GHSA-36fv-25j3-r2c5> (exploit, vendor-advisory)
- <https://github.com/daytriftnewgen/CVE-2026-21876> (exploit)
- <https://github.com/coreruleset/coreruleset/commit/80d80473abf71bd49bf6d3c1ab221e3c74e4eb83> (patch)
- <https://github.com/coreruleset/coreruleset/commit/9917985de09a6cf38b3261faf9105e909d67a7d6> (patch)
- <https://github.com/coreruleset/coreruleset/releases/tag/v3.3.8> (product, release-notes)
- <https://github.com/coreruleset/coreruleset/releases/tag/v4.22.0> (product, release-notes)

## Sources

- CVE List: [CVE-2026-21876](https://www.cve.org/CVERecord?id=CVE-2026-21876), CVE Terms of Use, modified 2026-04-09
- NVD: [CVE-2026-21876](https://nvd.nist.gov/vuln/detail/CVE-2026-21876), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21876 · Whole record: https://cve.day/CVE-2026-21876.json · Rebuilt by cve.day 2026-11-25T22:59:12.664Z
