Skip to content
OpenAdvisories
High · 8.6 CVE-2026-104269 EUVD-2026-117555

ModSecurity: RFC 2231 `filename*` Parameter Bypasses Multipart Filename Rules on RFC-Compliant Backends (Go, Python, Node, Java)

Published Nov 5, 2026 · Updated Nov 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
owasp-modsecurity ModSecurity >= 3.0.0, < 3.0.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 modsecurity +1 No fix yet —
Debian 13 modsecurity +1 No fix yet —
Debian 12 modsecurity +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 modsecurity +1 No fix yet —
Ubuntu 26.04 LTS modsecurity +1 No fix yet —
Ubuntu 24.04 LTS modsecurity No fix yet —
Ubuntu 22.04 LTS modsecurity No fix yet —
Ubuntu 20.04 LTS modsecurity No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS modsecurity-apache No fix yet —
Ubuntu Pro 22.04 LTS modsecurity-apache No fix yet —
Ubuntu Pro 20.04 LTS modsecurity-apache No fix yet —
Ubuntu Pro 18.04 LTS modsecurity-apache No fix yet —
Ubuntu Pro 16.04 LTS modsecurity-apache No fix yet —
Ubuntu Pro 14.04 LTS modsecurity-apache No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mod_security +1 2.9.15-1.amzn2023.0.1 ALAS2023-2026-3247
Amazon Linux 2 mod_security +1 2.9.15-1.amzn2.0.1 ALAS2-2026-4010

Advisories 3

References