CVE-2026-41508

OWASP Coraza WAF: Truncated multipart body bypasses MULTIPART_STRICT_ERROR (rule 200003) via silent io.ErrUnexpectedEOF handling

Published Oct 12, 2026 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Coraza
Coraza coraza
Vendors & Products Coraza
Coraza coraza
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'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-755

    Improper Handling of Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:24 PM
Reserved
Apr 20, 2026, 6:18 PM
Status
Deferred
Published
Oct 12, 2026, 9:17 PM
Modified
Oct 16, 2026, 8:04 PM