A high-severity parser differential in ModSecurity, identified as CVE-2026-104269 (GHSA-5pww-8rfg-9crf), allows attackers to bypass OWASP Core Rule Set filename inspection This article explores modsecurity multipart parser. . This weakness occurs in ModSecurity's multipart parser, which fails to implement RFC 2231 parameter value extensions.
These extensions define charset-encoded syntax, such as filename*=UTF-8''value, allowing for malicious uploads to slip through. All these libraries handle MIME types: Go's mime.ParseMediaType, Werkzeug's parse_options_header, Starlette's python-multipart, Node.js's busboy, and @fastify/multipart, as well as Spring's ContentDisposition.parse().
The attacker sends a filename="safe.jpg"; filename*=UTF-8''shell.php with an image content type and a PHP payload such as . The CVSS vector indicates a network reachability, low complexity, no authentication, no user interaction, a changed scope, high integrity impact, and no access vector. The flaw continues a series of multipart evasion defects, including CVE-2026-52747 in libmodsecurity’s multipart/form-data parser and the CRS rule 922110 charset validation bypass.
Teams can also implement a custom rule to block any multipart parts with a filename parameter, and monitor for unusual writes in upload paths that might indicate potential security issues. Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort.












