Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M

CVE-2026-52747ModSecurity: Multipart form-data parser silently strips embedded line breaks from form-field values, enabling request-body inspection bypass

High 8.6

In plain English

A high-severity security flaw in ModSecurity from owasp-modsecurity. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.5%top 58.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 3.0.16, the multipart/form-data request body parser in libmodsecurity silently removes embedded line breaks from non-file form-field values before exporting them to ARGS and ARGS_POST because src/request_body_processor/multipart.cc overwrites reserved bytes in m_reserve instead of appending the current buffer. This creates a parser differential between ModSecurity and backend applications that preserve line breaks in form fields, allowing rules that inspect ARGS or ARGS_POST to miss payloads whose dangerous syntax depends on a line break. This issue is fixed in version 3.0.16.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12modsecurityno fix listedDEBIAN-CVE-2026-52747
Debian:13modsecurityno fix listedDEBIAN-CVE-2026-52747
Debian:14modsecurity3.0.16-1DEBIAN-CVE-2026-52747
Ubuntu:22.04:LTSmodsecurityno fix listedUBUNTU-CVE-2026-52747
Ubuntu:24.04:LTSmodsecurityno fix listedUBUNTU-CVE-2026-52747
Ubuntu:26.04:LTSmodsecurityno fix listedUBUNTU-CVE-2026-52747
Ubuntu:26.10modsecurityno fix listedUBUNTU-CVE-2026-52747

Affected products (as reported)

VendorProductVersions
owasp-modsecurity ModSecurity < 3.0.16

Weakness: CWE-180 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

References