Security Resilience

CVE-2026-21876

Owasp Modsecurity Core Rule Set ≤ 3.3.8

Public PoC
Published
08 January 2026
Modified
09 April 2026
Patch / advisory
CVSS Score v3.1 9.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
EPSS Score 0.020 81th percentile
Risk Priority 78 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-21876 is a critical-severity Incomplete Filtering of Multiple Instances of Special Elements (CWE-794) vulnerability in Owasp Modsecurity Core Rule Set. Its CVSS base score is 9.3 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 19% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability is a logic bug in the OWASP Core Rule Set (CRS) affecting rule 922110 prior to versions 4.22.0 and 3.3.8. The rule processes multipart requests by iterating over collections such as MULTIPART_PART_HEADERS; because capture variables TX:0 and TX:1 are overwritten on each iteration, only the final captured value is passed to subsequent chained rules, allowing malicious charset values in earlier parts to be ignored when a later part contains a benign charset. The affected component is the generic attack-detection rule set used by compatible web application firewalls.

An unauthenticated remote attacker can craft a multipart request containing a malicious charset in one of the earlier parts followed by a legitimate charset in a subsequent part. Because the chained rule only evaluates the last captured value, the request evades detection and may result in high-impact consequences including confidentiality loss and limited integrity impact, as reflected in the CVSS 9.3 score.

The referenced GitHub advisory and release notes state that the issue is resolved in CRS 4.22.0 and 3.3.8; users should upgrade to one of these versions. The associated commits correct the capture-variable handling so that each multipart part is evaluated independently by the rule chain. The EPSS score remains low with only a modest peak of 0.0398 and no reported real-world exploitation.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-33691Same product: Owasp Owasp Modsecurity Core Rule Set
CVE-2026-52747Same vendor: Owasp
CVE-2026-52761Same vendor: Owasp
CVE-2026-3816Same vendor: Owasp
CVE-2023-38199Same vendor: Owasp
CVE-2026-42268Same vendor: Owasp
CVE-2026-30923Same vendor: Owasp
CVE-2026-40316Same vendor: Owasp
CVE-2025-66021Same vendor: Owasp
CVE-2025-54571Same vendor: Owasp

Affected Assets

owasp
owasp modsecurity core rule set
≤ 3.3.8 · 4.0.0 — 4.22.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly requires checking and sanitizing all relevant special elements in received data before downstream use.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require complete special-element filtering to prevent injection-style weaknesses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect incomplete filtering but does not itself implement the filtering mechanism.

prevents

Training in secure coding practices (regex modifiers, complete filtering patterns) reduces instances of this developer-introduced implementation defect, but the weakness is a subtle code-level mistake that training catches only a minority of the time, consistent with A.6.3 -> CWE-598 at partial.

prevents

Secure coding standards require complete sanitization of all instances of special elements before downstream processing.

blocks

A.8.3 restricts who may access information that exists, but CWE-794 is a code defect in how input is filtered before it reaches a downstream component, and access restriction does not stop the unfiltered input from being processed and exploited.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) it contracts from the supplier, and CWE-794 is a regular software implementation defect in filtering logic that those practices address; the owner has graded the analogous pair A.8.30 vs CWE-134 at `partial` for the same reason, and A.8.30 carries a declared ceiling of `partial` on this verb.

References