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

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 13-05-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-01-08 · Modified: 2026-04-09
- Aliases: UBUNTU-CVE-2026-21876, DEBIAN-CVE-2026-21876, DSA-6105-1
- Record: https://cvemate.com/vulnerability/CVE-2026-21876 · JSON: https://cvemate.com/vulnerability/CVE-2026-21876/json

## Description

```text
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.
```

## Signals

- CVSS: 9.3 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
- EPSS: 17.35%, percentile 97.197%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, exploit-database)

## Affected

- coreruleset coreruleset: \< 4.22.0 \| \< 3.3.8
- debian modsecurity-crs (Debian): \< 3.3.8-1 \| \< 3.3.4-1+deb12u1 \| \< 3.3.7-1+deb13u1
- ubuntu modsecurity-crs (Ubuntu): All versions (No fix recorded)
- owasp owasp\_modsecurity\_core\_rule\_set: \< 3.3.8 \| ≥ 4.0.0, \< 4.22.0

## References

- <https://github.com/coreruleset/coreruleset/security/advisories/GHSA-36fv-25j3-r2c5>
- <https://github.com/coreruleset/coreruleset/commit/80d80473abf71bd49bf6d3c1ab221e3c74e4eb83>
- <https://github.com/coreruleset/coreruleset/commit/9917985de09a6cf38b3261faf9105e909d67a7d6>
- <https://github.com/coreruleset/coreruleset/releases/tag/v3.3.8>
- <https://github.com/coreruleset/coreruleset/releases/tag/v4.22.0>
- <https://github.com/daytriftnewgen/CVE-2026-21876>
- <https://ubuntu.com/security/CVE-2026-21876>
- <https://www.cve.org/CVERecord?id=CVE-2026-21876>
- <https://security-tracker.debian.org/tracker/CVE-2026-21876>

---

Data as of 2026-12-05T07:51:05.210Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
