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-41510 Overview
OWASP Coraza is a Golang ModSecurity-compatible Web Application Firewall (WAF) library. CVE-2026-41510 affects Coraza versions 3.0.0 through 3.8.0 and allows unauthenticated attackers to bypass WAF rules by flooding requests with arguments beyond the SecArgumentsLimit cap. Coraza silently drops the excess arguments in internal/corazawaf/transaction.go before security rules inspect them, while internal/bodyprocessors/urlencoded.go writes ARGS_POST without enforcing the cap. Attackers can also trigger excessive memory consumption through amplified urlencoded and JSON processing. The flaw is categorized under CWE-693: Protection Mechanism Failure.
Critical Impact
Unauthenticated attackers can bypass WAF protections guarding downstream applications and degrade service through unbounded argument processing.
Affected Products
- OWASP Coraza WAF versions 3.0.0 through 3.8.0
- Applications embedding Coraza as a Go library dependency
- Reverse proxies and gateways built on Coraza (including Caddy and Traefik integrations)
Discovery Timeline
- 2026-10-12 - CVE-2026-41510 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-41510
Vulnerability Analysis
The vulnerability combines two defects in argument handling. First, when the number of parsed arguments exceeds SecArgumentsLimit, Coraza silently truncates the collection without raising a flag that rules can inspect. Second, the urlencoded body processor populates ARGS_POST without honoring the cap, and the JSON body processor fails to apply both the argument count and byte budget checks for array-length entries written after ForEach returns.
Because the dropped values never populate ARGS, ARGS_GET, ARGS_NAMES, ARGS_GET_NAMES, ARGS_POST, or ARGS_PATH, downstream security rules cannot inspect them. Attackers wrap malicious payloads in a flood of benign filler arguments, pushing the attack parameters past the cap and out of rule visibility.
The JSON path also permits a resource exhaustion condition. A deeply nested JSON body (for example, 1024 nested arrays in a 2 KB body) could produce 1025 arguments and repeatedly expand long shared parent keys, consuming excessive memory.
Root Cause
The failure is a protection-mechanism gap: Coraza enforces SecArgumentsLimit by dropping arguments but does not emit a ArgumentsLimitReached signal that rules can match. The fix introduces an ArgumentLimit field on the body processor configuration and sets a truncation flag when the cap is reached.
Attack Vector
An unauthenticated remote attacker submits an HTTP request containing more parameters than SecArgumentsLimit (default 1000) via the query string, path, urlencoded body, or JSON body. The malicious payload is placed after the cap so it is dropped before WAF rule evaluation, reaching the backend application unfiltered.
// Fix in internal/bodyprocessors/json.go - enforces both argument count
// and byte budget on array-length entries written after ForEach returns.
// Source: https://github.com/corazawaf/coraza/commit/b98359bb7e7606c95100dcc7ad490d2d624e6dea
if argumentLimit > 0 && *argCount >= argumentLimit {
iterationTruncated = true
} else {
lenStr := strconv.Itoa(arrayLen)
if byteBudget > 0 && *usedBytes+len(objKey)+len(lenStr) > byteBudget {
iterationTruncated = true
} else {
k := string(objKey)
res[k] = append(res[k], lenStr)
*usedBytes += len(objKey) + len(lenStr)
*argCount++
}
}
Detection Methods for CVE-2026-41510
Indicators of Compromise
- HTTP requests containing an unusually high number of query string, path, or body parameters approaching or exceeding the configured SecArgumentsLimit.
- JSON request bodies with deep array nesting or many leaf fields sharing long parent keys.
- Unexpected memory growth or latency spikes in services running Coraza versions between 3.0.0 and 3.8.0.
Detection Strategies
- Audit application logs for successful requests to sensitive endpoints that should have been blocked by existing WAF rules.
- Enable the new rules 200004 and 200005 from the updated coraza.conf-recommended, which reject requests that hit SecArgumentsLimit.
- Instrument the Coraza runtime to alert when ArgumentsLimitReached is set on a transaction.
Monitoring Recommendations
- Track request-level argument counts and the ratio of dropped-to-processed arguments across edge proxies.
- Monitor process memory and CPU usage of Coraza-protected services for anomalies correlating with inbound JSON traffic.
- Correlate WAF telemetry with downstream application logs to identify payloads that bypassed inspection.
How to Mitigate CVE-2026-41510
Immediate Actions Required
- Upgrade OWASP Coraza to version 3.8.1 or later across all deployments, including embedded library consumers.
- Rebuild and redeploy any downstream products (reverse proxies, API gateways) that vendor Coraza as a dependency.
- Review the GHSA-6r3q-mjv7-xr8m advisory and apply the configuration guidance from the updated recommended ruleset.
Patch Information
The maintainers released the fix in Coraza v3.8.1. The patch adds an ArgumentLimit field to BodyProcessorConfig, enforces both argument-count and byte-budget caps in the JSON and urlencoded processors, and introduces default rules 200004 and 200005 that deny requests reaching SecArgumentsLimit. See the primary fix commit and the configuration update commit.
Workarounds
- Set SecArgumentsLimit as low as backend applications permit to narrow the window for argument flooding attacks.
- Place strict rate-limiting and request-size controls in front of Coraza to drop requests with abnormally high parameter counts.
- Reject JSON bodies above a conservative size and depth threshold until the upgrade is deployed.
# Updated coraza.conf-recommended snippet from the fix
# Source: https://github.com/corazawaf/coraza/commit/146c2f79f39ad16f13787e7d67ad400f8d8cb9a3
SecRequestBodyJsonDepthLimit 1024
# Maximum number of arguments Coraza will parse per request, across the query
# string, the path and the request body. Arguments beyond the limit are
# dropped, which is why rules 200004 and 200005 reject a request that
# reaches it: silently dropped arguments are invisible to every ARGS rule.
# Keep this as low as the applications behind Coraza allow.
SecArgumentsLimit 1000
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

