Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 61%

CVE-2026-52747: CWE-180: Incorrect Behavior Order: Validate Before Canonicalize in owasp-modsecurity ModSecurity

0
High
VulnerabilityCVE-2026-52747cvecve-2026-52747cwe-180
Published: 07/10/2026 (07/10/2026, 21:42:11 UTC)
Source: CVE Database V5
Vendor/Project: owasp-modsecurity
Product: ModSecurity

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.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
owasp-modsecurity/ModSecurity
pkg:github/owasp-modsecurity/ModSecurity
Affected versions
<3.0.16

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 15:32:34 UTC

Technical Analysis

CVE-2026-52747 affects ModSecurity, an open source web application firewall engine. The multipart/form-data parser in versions before 3.0.16 incorrectly removes embedded line breaks from non-file form-field values due to overwriting reserved bytes instead of appending buffers. This leads to a parser differential between ModSecurity and backend applications, allowing certain payloads that rely on line breaks to evade detection by security rules inspecting ARGS or ARGS_POST. The vulnerability is classified under CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize) and has a CVSS 3.1 score of 8.6 (high severity). The issue is resolved in ModSecurity version 3.0.16.

Potential Impact

This vulnerability can cause ModSecurity to miss malicious payloads in multipart/form-data requests if those payloads depend on embedded line breaks for their dangerous syntax. As a result, attackers may bypass security rules that inspect ARGS or ARGS_POST, potentially leading to successful exploitation of web applications protected by vulnerable ModSecurity versions. The vulnerability does not impact confidentiality or availability but has a high impact on integrity due to the potential for undetected injection or manipulation attacks.

Mitigation Recommendations

Upgrade ModSecurity to version 3.0.16 or later, where this issue is fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is confirmed fixed in 3.0.16.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-08T14:00:43.573Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a516c2c68715ace434381f3

Added to database: 07/10/2026, 22:03:24 UTC

Last enriched: 07/18/2026, 15:32:34 UTC

Last updated: 08/24/2026, 22:52:12 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses