Summary
CVE-2026-104269 is an interpretation-conflict (CWE-436) vulnerability in the ModSecurity v3 multipart parser. It lets an attacker evade filename-based WAF rules on file uploads. The CVSS v3.1 base score is 8.6 (High), and it is exploitable over the network with no authentication or user interaction.
Technical details
- Root cause: ModSecurity’s multipart parser does not implement RFC 2231
filename*=charset''valueparameter handling inContent-Dispositionheaders. Common backend frameworks (the advisory names Go, Python, Node.js and Java) prefer the decodedfilename*value over the plainfilenamevalue when both are present. - Trigger conditions: A multipart upload request that contains both a benign
filename=and an encodedfilename*=parameter. For example,filename="safe.jpg"together withfilename*=UTF-8''shell.php. - Attack vector: Network. A crafted HTTP multipart request is enough, with no privileges or user interaction.
- Impact: ModSecurity evaluates the benign
filename, so rules that inspectMULTIPART_FILENAMEdo not match. The backend uses the maliciousfilename*value, so the attacker can bypass upload filename restrictions. The advisory notes this can potentially lead to remote code execution if the backend stores and serves an executable file type.
Affected software
- ModSecurity (v3) >= 3.0.0 and < 3.0.17
Severity
- CVSS v3.1 base score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Mitigation and recommended actions
- Immediate: Upgrade ModSecurity to 3.0.17 or later. The v3.0.17 release notes describe handling of
filename*and duplicatedfilenameparameters in multipartContent-Dispositionheaders. They also describe new variables:MULTIPART_DUPLICATE_PART_HEADER,MULTIPART_FILENAME_CHARSETandMULTIPART_FILENAME_LANGUAGE. - Note: The CVE record lists 3.0.17 as the fixed version. The GitHub advisory page as retrieved did not list a patched version, so confirm the fix status against the vendor release.
- If you cannot patch immediately:
- Monitor for or block upload requests whose
Content-Dispositioncontains bothfilename=andfilename*=. - Validate and sanitize uploaded filenames and extensions on the backend, independent of WAF rules.
- Consider restricting file upload functionality until the upgrade is complete.
- Monitor for or block upload requests whose

