Skip to main content
VulnerabilityPublished

github.com/corazawaf/coraza/v3 · V3: Coraza: Multipart filename* (RFC 5987) charset restriction lets a decoy filename bypass FILES-based rules

Affects github.com/corazawaf/coraza/v3Source GCVE Database

0

CVSS 4.0 Medium : upgrade to 3.8.1 when convenient.

Data as of 8 Oct 2026, 22:11 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

What to do

Upgrade github.com/corazawaf/coraza/v3 to 3.8.1.

Affected software

ProductAffectedFixed in
Gogithub.com/corazawaf/coraza/v3Affected
  • <3.8.1
Fixed in
  • 3.8.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Coraza version 3.8.1 that independently decodes the filename* parameter without charset restrictions and correctly populates multipart filename variables. Users should upgrade to version 3.8.1 or later to remediate this vulnerability. Until upgraded, rules relying on FILES or FILES_NAMES for filename inspection may be bypassed by attackers using non-us-ascii/utf-8 charsets in filename*. No other mitigation is documented or recommended by the vendor advisory.

Description

Coraza v3 prior to 3.8.1 improperly handles multipart file upload filenames when the RFC 5987 extended filename* parameter uses a charset other than us-ascii or utf-8, such as iso-8859-1. This causes Coraza to ignore the filename* value and instead use the plain filename parameter or no filename, allowing attackers to bypass file extension or name-based detection rules. The vulnerability affects the FILES and FILES_SIZES variables and the file-vs-field routing, potentially letting malicious uploads evade inspection. The issue is fixed in version 3.8.1 by independently decoding filename* without charset restrictions and exposing both filename and filename* values.

References

Community reviews

Loading reviews…