Exploit database

Vulnerability

CVE-2026-21876

OWASP CRS has multipart bypass using multiple content-type parts

Vulnerability details

Score
9.3
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

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.

CVE Program

Exploit source choices

3 sources
daytriftnewgen/cve-2026-21876
GH-20afd99cd50cf92937810a95ed4e6ef0GitHubUnofficial GitHub source

CVE-2026-21876 PoC: WAF charset bypass (Flask, ASP.NET and Spring Boot stands)

2026-06-0626 files · 1 stars
cves-labs/cve-2026-21876
GH-69d914947b714382d7e0d88242ff1ddcGitHubUnofficial GitHub source

cves-labs/cve-2026-21876 source repository

2026-04-228 files · 0 stars