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-107825 Overview
CVE-2026-107825 is an input validation flaw in OWASP Coraza, a Go-based ModSecurity-compatible web application firewall library. The vulnerability affects versions 3.0.0 through 3.7.x and is fixed in 3.8.0. When Coraza's ProcessURI function in internal/corazawaf/transaction.go encounters a url.ParseRequestURI failure, it retains the raw URI but leaves QUERY_STRING, ARGS_GET, ARGS_GET_NAMES, and GET-derived ARGS empty. An unauthenticated attacker can inject control bytes into a URI to cause Coraza to drop query parameters that downstream integrations still process, bypassing WAF rules that inspect those variables. The weakness is classified as [CWE-20] Improper Input Validation.
Critical Impact
Attackers can bypass WAF rules targeting query-string variables by sending URIs with control bytes through non-net/http integrations such as coraza-spoa, coraza-proxy-wasm, custom FFI hosts, or WASM hosts.
Affected Products
- OWASP Coraza WAF versions 3.0.0 through 3.7.x
- Integrations: coraza-spoa, coraza-proxy-wasm, custom FFI hosts, WASM hosts
- Not affected: the bundled coraza/v3/http integration (Go net/http rejects malformed targets)
Discovery Timeline
- 2026-10-09 - CVE-2026-107825 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-107825
Vulnerability Analysis
The flaw lives in Coraza's URI processing path. ProcessURI calls url.ParseRequestURI to extract components of the request target. When that parse fails due to control bytes or other malformed input, Coraza preserves the untouched URI in REQUEST_URI_RAW but does not populate the derived collections used by rules: QUERY_STRING, ARGS_GET, ARGS_GET_NAMES, and the GET portion of ARGS.
Security rules that inspect query parameters, such as signatures for SQL injection or cross-site scripting delivered through GET arguments, therefore have no data to match against. A downstream server or application that uses a more permissive URI parser may still accept the request and act on the attacker-controlled parameters. The result is a WAF bypass against any rule that depends on ARGS_GET family variables.
Root Cause
Coraza's parser-failure path handles errors by continuing silently rather than flagging a parse error that rules can act on. The library does not expose a URI_PARSE_ERROR variable before 3.8.0, so administrators cannot write a rule to deny requests that fail URI parsing. This is an improper input validation issue [CWE-20] where exceptional input bypasses variable population logic.
Attack Vector
An unauthenticated remote attacker sends an HTTP request through a non-net/http Coraza integration with raw control bytes embedded in the request target. The downstream integration passes the raw URI directly to Coraza. Coraza fails to parse it, skips population of query-derived variables, and allows the request to pass rules that would otherwise match. The downstream handler may then process the parameters using a different parser that tolerates the control bytes.
# Patch adds a strict rule to coraza.conf-recommended that denies requests
# whose URI could not be parsed. REQUEST_URI_RAW always holds the untouched URI.
SecRule URI_PARSE_ERROR "@eq 1" \
"id:'200009',phase:1,t:none,log,deny,status:400,msg:'URI failed to parse.'"
Source: GitHub Coraza Commit 0321af9
// Patch registers the new URIParseError variable in the request-headers phase.
case variables.UrlencodedError:
return types.PhaseRequestHeaders
case variables.URIParseError:
return types.PhaseRequestHeaders
case variables.ResponseArgs:
return types.PhaseResponseBody
Source: GitHub Coraza Commit 0321af9
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-107825
Indicators of Compromise
- HTTP requests containing raw control bytes (bytes below 0x20 excluding standard whitespace) in the request target
- WAF logs showing requests passed to the backend without ARGS_GET or QUERY_STRING populated despite a non-empty query component in REQUEST_URI_RAW
- Divergence between Coraza-logged query parameters and parameters reaching the application
Detection Strategies
- Enable the new URI_PARSE_ERROR variable (available in 3.8.0) and alert on any request where it equals 1
- Compare REQUEST_URI_RAW to parsed QUERY_STRING in audit logs to flag parsing anomalies
- Instrument downstream integrations (coraza-spoa, coraza-proxy-wasm) to log raw request targets for correlation with WAF decisions
Monitoring Recommendations
- Forward Coraza audit logs to a centralized analytics pipeline and alert on spikes in requests with empty ARGS_GET but populated REQUEST_URI_RAW query fragments
- Track the Coraza library version deployed in each integration to confirm patched builds are in production
- Review application access logs for request targets containing non-printable bytes
How to Mitigate CVE-2026-107825
Immediate Actions Required
- Upgrade OWASP Coraza to version 3.8.0 or later in every integration that embeds the library
- Rebuild and redeploy coraza-spoa, coraza-proxy-wasm, and any custom FFI or WASM host that links Coraza
- Add the new SecRule URI_PARSE_ERROR "@eq 1" rule from the recommended configuration to deny requests with unparsable URIs
Patch Information
The fix is included in Coraza v3.8.0. The remediation introduces a URI_PARSE_ERROR variable in PhaseRequestHeaders, continues to populate QUERY_STRING and ARGS_GET on a best-effort basis, and ships an updated coraza.conf-recommended that denies parse failures with HTTP 400. Full details are available in the GitHub Security Advisory GHSA-x26q-wvhg-fh4m.
Workarounds
- Place a strict HTTP parser in front of Coraza integrations that rejects request targets containing control bytes, mirroring Go net/http behavior
- Validate request URIs inside the host integration before invoking Coraza and return HTTP 400 for malformed targets
- Restrict exposure of affected integrations until the upgrade to 3.8.0 is complete
# Example rule to add after upgrading to Coraza 3.8.0
# Append to coraza.conf to deny requests whose URI failed to parse
SecRule URI_PARSE_ERROR "@eq 1" \
"id:'200009',phase:1,t:none,log,deny,status:400,msg:'URI failed to parse.'"
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

