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

Published Jul 10, 2026
·
Updated

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 ARGSPOST because src/requestbodyprocessor/multipart.cc overwrites reserved bytes in mreserve 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 ARGSPOST to miss payloads whose dangerous syntax depends on a line break. This issue is fixed in version 3.0.16.

Affected Software

2 affected components
ModSecurity modsecurity<3.0.16
OWASP Modsecurity<3.0.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ModSecurity to a version that resolves this vulnerability.

    Fixed in 3.0.16

Event History

Jul 10, 2026
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-52747?

CVE-2026-52747 is classified as having a high severity rating of 8.6.

2

How do I fix CVE-2026-52747?

To mitigate CVE-2026-52747, upgrade ModSecurity to version 3.0.16 or later.

3

What risks are associated with CVE-2026-52747?

CVE-2026-52747 poses risks related to request-body inspection bypasses due to the stripping of embedded line breaks.

4

Which software is affected by CVE-2026-52747?

CVE-2026-52747 affects the ModSecurity web application firewall prior to version 3.0.16.

5

Can CVE-2026-52747 be exploited remotely?

Yes, CVE-2026-52747 allows remote attackers to exploit the vulnerability without authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203