Description
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.4.0 until 3.8.0, the multipart processor in internal/bodyprocessors/multipart.go treats io.ErrUnexpectedEOF as nonfatal without setting MULTIPART_STRICT_ERROR. A remote attacker can submit a truncated multipart body that produces io.ErrUnexpectedEOF, causing parsing to stop without raising the strict-error signal used by the recommended defensive rule. Rules 200002 and 200003 do not fire, allowing multipart parser-disagreement payloads to reach a backend that interprets the truncated body differently. This issue is fixed in version 3.8.0.
Published: 2026-10-12
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Bypass of multipart strict error handling allowing malicious payloads to reach the backend
Action: Immediate Patch
AI Analysis

Impact

When processing multipart requests, Coraza versions 3.4.0 through 3.8.0 incorrectly treats an io.ErrUnexpectedEOF as a nonfatal event and fails to set the MULTIPART_STRICT_ERROR flag. An attacker can exploit this by sending a truncated multipart body that triggers the unexpected‑EOF error. Because the strict‑error flag is not raised, defensive rules 200002 and 200003 do not fire, which means the malformed payload can be forwarded to the backend server for interpretation, potentially enabling unexpected or malicious processing paths.

Affected Systems

This issue affects the OWASP Coraza Web Application Firewall library produced by the corazawaf:coraza vendor. All Coraza releases in the 3.4.0‑3.8.0 range are impacted. Versions prior to 3.4.0 and the 3.8.0 release and later contain the fix and are not vulnerable.

Risk and Exploitability

The CVSS score of 5.8 reflects a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no known exploitation at the time of assessment. The likely attack vector is a remote attacker delivering a specially crafted HTTP request containing a truncated multipart body. While the lack of an explicit error flag limits immediate detection, the impact is that the application may process incomplete or malformed content, potentially leading to unintended behavior or security bypass on the backend.

Generated by OpenCVE AI on October 12, 2026 at 21:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coraza to version 3.8.0 or later, which implements proper error handling for multipart bodies.
  • Confirm that the MULTIPART_STRICT_ERROR dependent rules (200002, 200003) are enabled and correctly configured to fire on larger requests.
  • Implement an auxiliary HTTP filter or firewall rule to reject any incoming request that contains an 'Unexpected EOF' indication or fails multipart validation before it reaches the backend, providing a temporary containment measure until a patch can be applied.

Generated by OpenCVE AI on October 12, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r3rm-qphw-hh76 Coraza: Truncated multipart body bypasses MULTIPART_STRICT_ERROR (rule 200003) via silent io.ErrUnexpectedEOF handling
History

Tue, 13 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
First Time appeared Coraza
Coraza coraza
Vendors & Products Coraza
Coraza coraza

Mon, 12 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Description OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.4.0 until 3.8.0, the multipart processor in internal/bodyprocessors/multipart.go treats io.ErrUnexpectedEOF as nonfatal without setting MULTIPART_STRICT_ERROR. A remote attacker can submit a truncated multipart body that produces io.ErrUnexpectedEOF, causing parsing to stop without raising the strict-error signal used by the recommended defensive rule. Rules 200002 and 200003 do not fire, allowing multipart parser-disagreement payloads to reach a backend that interprets the truncated body differently. This issue is fixed in version 3.8.0.
Title OWASP Coraza WAF: Truncated multipart body bypasses MULTIPART_STRICT_ERROR (rule 200003) via silent io.ErrUnexpectedEOF handling
Weaknesses CWE-693
CWE-755
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T20:24:17.217Z

Reserved: 2026-04-20T18:18:50.681Z

Link: CVE-2026-41508

cve-icon Vulnrichment

Updated: 2026-10-13T20:19:07.906Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T21:17:17.240

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-41508

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:15:15Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-755

    Improper Handling of Exceptional Conditions