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.
Published: 2026-11-05
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: WAF Bypass Leading to File Upload Risk
Action: Patch Upgrade
AI Analysis

Impact

ModSecurity's multipart parser from versions 3.0.0 through 3.0.17 does not honor the RFC 2231 filename* precedence when parsing the Content‑Disposition header. An attacker can include a benign filename parameter that the WAF inspects while supplying a different, encoded filename* value that the backend routing libraries prefer. This mismatch allows the WAF's MULTIPART_FILENAME rules to evaluate a safe name while the application saves or processes a malicious file name, enabling dangerous file uploads or content‑type spoofing. The vulnerability can lead to accidental or intentional storage of files with harmful extensions or MIME types that bypass WAF checks. Based on the description, it is inferred that the attack demands only the ability to send HTTP requests to the protected application, a typical attacker capability on publicly exposed services.

Affected Systems

The affected product is the open‑source ModSecurity web‑application‑firewall engine. Versions 3.0.0 up to and including 3.0.17 of ModSecurity are impacted. The issue was mitigated in the 3.0.17 release. No other ModSecurity major version is explicitly listed as affected by this flaw.

Risk and Exploitability

The CVSS score of 8.6 indicates a high severity. The EPSS score is not available, so no current exploitation probability is known, but the flaw is listed as not being part of the CISA Known Exploited Vulnerabilities catalog. Attackers can exploit the issue via a crafted HTTP request that includes a Content‑Disposition header with a benign filename parameter and a distinct filename* value. Since this vulnerability resides in the gateway layer, it is reachable from the public network and can be weaponized against any backend that relies on RFC2231 compliant parsing, typical of Go, Python, Node.js, and Java implementations.

Generated by OpenCVE AI on November 5, 2026 at 17:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ModSecurity to version 3.0.17 or later, which includes the RFC 2231 filename* handling patch.
  • If an upgrade cannot be performed immediately, reconfigure ModSecurity to reject or flag requests where the filename* parameter differs from the filename parameter, enforcing consistency between the WAF and the backend chosen name.
  • Implement application‑level validation of uploaded file names and MIME types to ensure that files saved to disk truly reflect the allowed extensions, providing a second line of defense until the WAF fix is deployed.

Generated by OpenCVE AI on November 5, 2026 at 17:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Modsecurity
Modsecurity modsecurity
Vendors & Products Modsecurity
Modsecurity modsecurity

Thu, 05 Nov 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title ModSecurity: RFC 2231 `filename*` Parameter Bypasses Multipart Filename Rules on RFC-Compliant Backends (Go, Python, Node, Java)
Weaknesses CWE-436
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N'}


Subscriptions

Modsecurity Modsecurity
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-05T15:51:18.332Z

Reserved: 2026-10-01T19:04:39.707Z

Link: CVE-2026-104269

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T16:17:29.377

Modified: 2026-11-05T16:17:29.377

Link: CVE-2026-104269

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T18:00:20Z

Weaknesses