← Back to search

CVE-2026-104269

8.6 HIGHpublic exploit available

Published 2026-11-05 · Updated 2026-11-09

AI risk analysis

Summary
ModSecurity versions prior to 3.0.17 fail to correctly prioritize the RFC 2231 filename* parameter over the filename parameter in multipart Content-Disposition headers, causing a mismatch between the filename ModSecurity inspects and the one passed to the backend application. This allows attackers to bypass WAF rules that rely on filename inspection by providing a benign 'filename' value to ModSecurity while embedding a malicious encoded 'filename*' value that the backend uses.
Exploitability
Exploitation requires sending a specially crafted multipart form-data request with conflicting filename and filename* parameters, and the target application must use the backend-selected filename for security-critical decisions like file extension validation or storage path construction.
Blast radius
Applications relying on ModSecurity's filename-based rules (e.g., blocking dangerous extensions) may accept malicious uploads that bypass WAF controls, potentially enabling remote code execution or data exfiltration if the backend processes the file unsafely.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade ModSecurity to version 3.0.17 or later, which correctly implements RFC 2231 filename* precedence.
waf-bypassmultipart-parserupload-bypassrfc-compliance

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 until 3.0.17, ModSecurity's multipart parser does not apply the RFC 2231 filename* parameter precedence used by common Go, Python, Node.js, and Java application parsers. A Content-Disposition header can provide a benign filename parameter for ModSecurity and a different encoded filename* value that the backend prefers, causing MULTIPART_FILENAME rules and the application to make security decisions on different names. Applications that use the backend-selected name for storage, extension checks, or content-type inference can therefore receive a filename that bypassed WAF inspection. PHP's native multipart parser is not affected by this discrepancy. This issue is fixed in version 3.0.17.

CVSS vector

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

Weaknesses

CWE-436

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.