CVE-2026-21876

CRITICAL LAB

OWASP CRS <4.22.0-3.3.8 - Info Disclosure

Title source: llm

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.

Exploits (4)

github WORKING POC 10 stars
by XiaomingX · pythonpoc
https://github.com/XiaomingX/data-cve-poc-py-v1/tree/main/2026/CVE-2026-21876
nomisec WORKING POC 4 stars
by daytriftnewgen · poc
https://github.com/daytriftnewgen/CVE-2026-21876
nomisec WORKING POC
by CVEs-Labs · poc
https://github.com/CVEs-Labs/CVE-2026-21876
nomisec WORKING POC
by Mefhika120 · poc
https://github.com/Mefhika120/CVE-2026-21876

Scores

CVSS v3 9.3
EPSS 0.0007
EPSS Percentile 22.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Lab Environment

COMMUNITY
Community Lab
docker pull owasp/modsecurity-crs:3.3.7-nginx-202511100111

Details

CWE
CWE-794
Status published
Products (3)
coreruleset/coreruleset < 3.3.8
coreruleset/coreruleset < 4.22.0
owasp/owasp_modsecurity_core_rule_set < 3.3.8
Published Jan 08, 2026
Tracked Since Feb 18, 2026