Vulnerability · Published Jan 8, 2026 · Assigned by GitHub_M

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

Critical 9.3

In plain English

A critical-severity security flaw in coreruleset from coreruleset. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.7% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.3Critical
Exploit odds (30 days)17.7%top 2.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12modsecurity-crs3.3.4-1+deb12u1DSA-6105-1
Debian:12modsecurity-crs3.3.4-1+deb12u1DEBIAN-CVE-2026-21876
Debian:13modsecurity-crs3.3.7-1+deb13u1DSA-6105-1
Debian:13modsecurity-crs3.3.7-1+deb13u1DEBIAN-CVE-2026-21876
Debian:14modsecurity-crs3.3.8-1DEBIAN-CVE-2026-21876
Ubuntu:22.04:LTSmodsecurity-crsno fix listedUBUNTU-CVE-2026-21876
Ubuntu:24.04:LTSmodsecurity-crsno fix listedUBUNTU-CVE-2026-21876
Ubuntu:25.10modsecurity-crsno fix listedUBUNTU-CVE-2026-21876
Ubuntu:26.04:LTSmodsecurity-crsno fix listedUBUNTU-CVE-2026-21876
Ubuntu:26.10modsecurity-crsno fix listedUBUNTU-CVE-2026-21876

Affected products (as reported)

VendorProductVersions
coreruleset coreruleset < 4.22.0< 3.3.8

Weakness: CWE-794 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

References