CVE-2026-21876
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.3 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Owasp Modsecurity Core Rule Set < 3.3.8
- Owasp Modsecurity Core Rule Set >= 4.0.0 and < 4.22.0
- Owasp Modsecurity Core Rule Set 3.3.8
- Owasp Modsecurity Core Rule Set 4.22.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Owasp Modsecurity Core Rule Set and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jan 8, 2026Published
- Apr 9, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Owasp Modsecurity Core Rule Set CVEsYou are reading CVE-2026-21876. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/coreruleset/coreruleset/commit/80d80473abf71bd49bf6d3c1ab221e3c74e4eb83
- Patchhttps://github.com/coreruleset/coreruleset/commit/9917985de09a6cf38b3261faf9105e909d67a7d6
- Referencehttps://github.com/coreruleset/coreruleset/releases/tag/v3.3.8
- Referencehttps://github.com/coreruleset/coreruleset/releases/tag/v4.22.0
- Exploithttps://github.com/coreruleset/coreruleset/security/advisories/GHSA-36fv-25j3-r2c5
- Referencehttps://github.com/daytriftnewgen/CVE-2026-21876
Data last checked: Nov 29, 2026 20:13 UTC