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…

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 versions prior to 3.0.16 have a vulnerability in the multipart/form-data request body parser where embedded line breaks in non-file form-field values are silently removed. This causes a mismatch between ModSecurity and backend applications that preserve line breaks, potentially allowing malicious payloads to evade detection by rules inspecting ARGS or ARGS_POST. The 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/10/2026, 22:17:42 UTC

Technical Analysis

CVE-2026-52747 describes a vulnerability in ModSecurity's multipart/form-data parser before version 3.0.16. The parser incorrectly removes embedded line breaks from non-file form-field values due to overwriting reserved bytes instead of appending the current buffer. This leads to a parser differential between ModSecurity and backend applications that preserve line breaks, causing security rules that inspect ARGS or ARGS_POST to miss payloads relying on line breaks for dangerous syntax. The vulnerability is classified under CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize).

Potential Impact

This vulnerability can allow attackers to bypass security rules in ModSecurity that inspect form field arguments (ARGS and ARGS_POST) because the WAF removes line breaks that backend applications preserve. As a result, payloads that depend on line breaks for their malicious syntax may evade detection, potentially leading to successful injection or other attacks. The CVSS score is 8.6 (high severity), indicating a significant risk of impact on integrity without requiring privileges or user interaction.

Mitigation Recommendations

This issue is fixed in ModSecurity version 3.0.16. Users should upgrade to version 3.0.16 or later to remediate this vulnerability. No official patch or temporary fix is indicated other than upgrading. Since this is not a cloud service, remediation depends on user action to update the software.

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/10/2026, 22:17:42 UTC

Last updated: 07/11/2026, 02:08:49 UTC

Views: 5

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