Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114101 Overview
CVE-2026-114101 affects the Coraza Web Application Firewall (WAF) in versions prior to 3.8.1. The vulnerability resides in how Coraza extracts filenames from multipart file uploads using Go's mime.ParseMediaType function. The parser silently ignores RFC 5987 filename* parameters when the declared charset is not utf-8 or us-ascii, allowing unauthenticated attackers to smuggle malicious filenames past FILES-based rules. The flaw is categorized under [CWE-20] Improper Input Validation.
Critical Impact
Unauthenticated attackers can bypass WAF file upload rules by sending a decoy filename alongside a filename*=iso-8859-1''shell.php parameter, letting dangerous uploads reach backends that honor the RFC 5987 encoded form.
Affected Products
- Coraza WAF versions prior to 3.8.1
- Applications embedding Coraza as a library for multipart upload inspection
- Reverse proxies and gateways relying on Coraza FILES rule family for upload policy enforcement
Discovery Timeline
- 2026-10-21 - CVE-2026-114101 published to the National Vulnerability Database (NVD)
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114101
Vulnerability Analysis
Coraza inspects multipart form uploads to populate the FILES and FILES_NAMES collections consumed by ModSecurity-style rules. To extract filenames from Content-Disposition headers, Coraza calls Go's standard mime.ParseMediaType. That function implements RFC 2231 and RFC 5987 parameter continuations, but it silently drops filename* values whose charset label is not utf-8 or us-ascii.
An attacker crafts a Content-Disposition header carrying both a benign filename and an attacker-controlled filename* parameter declaring an alternate charset such as iso-8859-1. Coraza observes only the benign decoy, while downstream HTTP frameworks that follow RFC 5987 prefer the encoded filename* value. The mismatch produces a parser confusion condition where WAF rules evaluate one filename and the backend writes another.
Root Cause
The root cause is a parser discrepancy between Coraza's filename extraction path and permissive backend parsers. Coraza inherits the silent drop behavior of mime.ParseMediaType without compensating logic to detect or reject unknown charset labels. No validation enforces agreement between filename and filename* values when both are present in the same header.
Attack Vector
Exploitation requires only an unauthenticated HTTP request to any endpoint that accepts multipart uploads behind Coraza. The attacker submits a multipart/form-data body where the Content-Disposition header contains a safe decoy filename such as report.txt and a filename* parameter encoded as filename*=iso-8859-1''shell.php. Coraza's FILES_NAMES collection records report.txt, allowing extension-based rules to pass. The backend, honoring the RFC 5987 encoded form, writes shell.php to disk, enabling delivery of executable content past the WAF.
See the GitHub Security Advisory GHSA-3wr7-993q-jrff and the VulnCheck Advisory on the Coraza bypass for the full technical breakdown.
Detection Methods for CVE-2026-114101
Indicators of Compromise
- Multipart Content-Disposition headers containing both filename and filename* parameters with mismatched extensions or basenames.
- filename* values declaring non-standard charsets such as iso-8859-1, windows-1252, or any label other than utf-8 or us-ascii.
- Web server or application logs recording uploaded filenames that do not match the filenames logged by Coraza audit entries.
- Unexpected executable extensions such as .php, .jsp, .aspx, or .sh written to upload directories while WAF audit logs show only benign extensions.
Detection Strategies
- Correlate Coraza audit log FILES_NAMES entries with backend application upload logs; discrepancies indicate active bypass attempts.
- Deploy a custom rule inspecting raw Content-Disposition headers for the presence of both filename and filename* parameters.
- Flag any filename* parameter whose charset prefix is not utf-8'' or us-ascii'' for review or blocking.
- Monitor file system telemetry on upload directories for creation of executable file types that lack a corresponding allowlisted WAF decision.
Monitoring Recommendations
- Enable verbose Coraza audit logging on multipart requests to capture header-level details rather than parsed collections only.
- Ingest WAF and backend upload logs into a centralized analytics platform to run cross-source filename correlation queries.
- Alert on any multipart request where the Content-Disposition header length exceeds normal baselines or contains multiple filename parameters.
How to Mitigate CVE-2026-114101
Immediate Actions Required
- Upgrade Coraza to version 3.8.1 or later across all deployments that process multipart uploads.
- Audit custom rulesets that depend on FILES_NAMES or FILES variables for filename-extension enforcement and validate they operate on the patched filename extraction logic.
- Review recent upload directories for unexpected executable files written during the exposure window.
- Rebuild and redeploy any applications or sidecars that statically link Coraza as a Go dependency.
Patch Information
The Coraza maintainers released version 3.8.1, which corrects the filename extraction behavior so that filename* parameters are consistently parsed and surfaced to WAF rules regardless of declared charset. Consumers embedding Coraza should update their go.mod to require github.com/corazawaf/coraza/v3 v3.8.1 or later and rebuild. Refer to the GitHub Security Advisory GHSA-3wr7-993q-jrff for release notes and commit references.
Workarounds
- Add a defensive rule that rejects multipart requests whose Content-Disposition header contains a filename* parameter with a charset other than utf-8 or us-ascii.
- Normalize or strip the filename* parameter at an upstream proxy so that only the filename value reaches both Coraza and the backend application.
- Enforce server-side allowlists on file extensions after upload and reject any file whose extension does not match the WAF-observed filename.
# Configuration example: block mismatched multipart filenames in Coraza
SecRule REQUEST_HEADERS:Content-Disposition "@rx filename\*=(?!utf-8''|us-ascii'')[^']+''" \
"id:1009001,phase:1,deny,status:400,log,\
msg:'Blocked multipart filename* with non-standard charset (CVE-2026-114101)'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

