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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.0.16 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-10 · Modified: 2026-07-13
- Aliases: UBUNTU-CVE-2026-52747, DEBIAN-CVE-2026-52747
- Record: https://cvemate.com/vulnerability/CVE-2026-52747 · JSON: https://cvemate.com/vulnerability/CVE-2026-52747/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- EPSS: 0.519%, percentile 45.643%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian modsecurity (Debian): All versions (No fix recorded) \| \< 3.0.14-1+deb13u2 \| \< 3.0.16-1
- ubuntu modsecurity (Ubuntu): All versions (No fix recorded)
- owasp-modsecurity modsecurity: \< 3.0.16
- owasp modsecurity: \< 3.0.16

## References

- <https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-rcw9-2f5r-7p88>
- <https://github.com/owasp-modsecurity/ModSecurity/commit/875504c2758169c41be1ad2f0cc64d896b7815d7>
- <https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16>
- <https://ubuntu.com/security/CVE-2026-52747>
- <https://www.cve.org/CVERecord?id=CVE-2026-52747>
- <https://security-tracker.debian.org/tracker/CVE-2026-52747>

---

Data as of 2026-12-05T07:13:42.385Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
