Incomplete filtering of multiple instances of special elements in OWASP ModSecurity Core Rule Set (CRS) - CVE-2026-21876

 

Incomplete filtering of multiple instances of special elements in OWASP ModSecurity Core Rule Set (CRS) - CVE-2026-21876

Published: January 7, 2026


Vulnerability identifier: #VU121073
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2026-21876
CWE-ID: CWE-794
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OWASP
Affected software:
OWASP ModSecurity Core Rule Set (CRS)

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass security rules.

The vulnerability exists due to improper input validation of multiplart requests in rule 922110. 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. A remote non-authenticated attacker can bypass ModSecurity rule and send malicious requests to the application. 


How to mitigate CVE-2026-21876

Install updates from vendor's website.

Sources