Coreruleset
OWASP CRS has multipart bypass using multiple content-type parts
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.22.0
- < 3.3.8
Fixed in 4.22.0, 3.3.8
Mitigation
Upgrade coreruleset to 4.22.0 or 3.3.8 or later.
References
- Vendor advisory github.com/coreruleset/coreruleset/security/ad…
- Patch github.com/coreruleset/coreruleset/commit/80d8…
- Patch github.com/coreruleset/coreruleset/commit/9917…
2 more
- Release notes github.com/coreruleset/coreruleset/releases/ta…
- Release notes github.com/coreruleset/coreruleset/releases/ta…
Timeline
Days relative to CVE publicationFirst public PoC 17 days after publication; not in CISA KEV. First PoC: Mefhika120/CVE-2026-21876 (created 25 Jan 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Mefhika120/CVE-2026-21876 | 25 Jan 2026 +17 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| CVEs-Labs/CVE-2026-21876 | 22 Apr 2026 +104 d | 0 | PoC |
| daytriftnewgen/CVE-2026-21876 | 6 Jun 2026 +149 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | coreruleset 4.21.0 - Firewall Bypass | 13 May 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /submit
- Key headers
Accept: */*Origin: https://example.com- Body markers
--------------------------cmOi6twNhVJDu76bOwDTVz Content-Disposition: form-data; name="username" Content-Type: text/plaiinmultipart/form-data; boundary=------------------------cmOi6twNhVJDu76bOwDTVz- Ports
- 8083, 18080
- PoC User-Agent
curl/8.17.0- Seen in
- 3 repos: CVEs-Labs/CVE-2026-21876, Mefhika120/CVE-2026-21876, daytriftnewgen/CVE-2026-21876
- Evidence
- CVEs-Labs/CVE-2026-21876/POC.txt:1 Mefhika120/CVE-2026-21876/README.md:7 daytriftnewgen/CVE-2026-21876/aspnet_stand/demo/send.py:35 daytriftnewgen/CVE-2026-21876/springboot_stand/demo/send.py:40 daytriftnewgen/CVE-2026-21876/springboot_undertow_stand/demo/send.py:40
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/submit(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8083,18080] (msg:"GG PoC-Monitor CVE-2026-21876 coreruleset coreruleset exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/submit"; http.header; content:"Accept: */*"; nocase; http.header; content:"Origin: https://example.com"; nocase; http.request_body; content:"--------------------------cmOi6twNhVJDu76bOwDTVz Content-Disposition: form-data|3b| name=|22|username|22| Content-Type: text/plai"; reference:url,poc.griffinguard.io/cve/CVE-2026-21876; classtype:web-application-attack; sid:9549894; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: coreruleset coreruleset exploit attempt (CVE-2026-21876)
id: gg-pocmon-cve-2026-21876-9549894
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-21876. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-21876
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/submit'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.21876