CVE Catalog

CVE-2026-52747

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

38th percentile - higher than 38% of all known CVEs

Summary

ModSecurity before version 3.0.16 has a vulnerability in the multipart/form-data parser that silently removes line breaks from non-file form-field values. This occurs because the code overwrites reserved bytes instead of appending the current buffer, causing a parser differential between ModSecurity and backend applications.

Risk Assessment

The risk is that WAF rules inspecting ARGS or ARGS_POST may miss malicious payloads whose dangerous syntax depends on a line break. Attackers can exploit this to bypass security controls and execute attacks such as code injection.

Recommendation

Immediately upgrade ModSecurity to version 3.0.16 or later, which includes a fix for this vulnerability.

Other vulnerabilities in ModSecurity

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS