CVE-2026-21876 in Owasp Modsecurity Core Rule Set
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 `MU...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Owasp | Owasp Modsecurity Core Rule Set | < 3.3.8 ≥ 4.0.0, < 4.22.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-21876 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-300554-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2026-01-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-794: CWE-794
Analysis AI-written, not human-reviewed
CVE-2026-21876 affects the OWASP Core Rule Set (CRS) versions prior to 4.22.0 and 3.3.8, where rule 922110 mishandles multipart requests, leading to potential bypass of security rules.
An attacker can exploit this vulnerability by crafting multipart requests with multiple parts, causing the capture variables in rule 922110 to be overwritten. This can lead to the bypass of intended security checks, potentially allowing unauthorized access or other malicious activities.
Questions
What is CVE-2026-21876?
CVE-2026-21876 affects the OWASP Core Rule Set (CRS) versions prior to 4.22.0 and 3.3.8, where rule 922110 mishandles multipart requests, leading to potential bypass of security rules.
What is the CVSS score for CVE-2026-21876?
CVE-2026-21876 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 2.0%.
Is CVE-2026-21876 actively exploited?
Public exploit available for CVE-2026-21876. Exploitation risk elevated.
How do I remediate CVE-2026-21876?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2026-21876?
CVE-2026-21876 affects Owasp Owasp Modsecurity Core Rule Set.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Owasp","product":"Owasp Modsecurity Core Rule Set","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.