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-107833 Overview
CVE-2026-107833 is a denial-of-service vulnerability in OWASP Coraza, a Go-based web application firewall (WAF) library compatible with ModSecurity. The flaw exists in the ProcessResponse function within internal/bodyprocessors/json.go. Coraza passes an ignoreJSONRecursionLimit value of -1 to readJSON, while the recursive guard only stops at zero. A network attacker who causes a protected application to return deeply nested JSON triggers quadratic processing work. Each response can consume a full CPU core for seconds within the default ResponseBodyLimit. The weakness is classified as uncontrolled recursion [CWE-674] and affects Coraza versions 3.0.0 through 3.7.x.
Critical Impact
Attackers can degrade WAF-protected services by submitting crafted JSON responses that exhaust CPU resources during response-body inspection.
Affected Products
- OWASP Coraza WAF versions 3.0.0 through 3.7.x
- Applications using Coraza with response-body inspection enabled
- Deployments where SecResponseBodyMimeType includes application/json
Discovery Timeline
- 2026-10-09 - CVE-2026-107833 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-107833
Vulnerability Analysis
Coraza inspects response bodies when configured with JSON MIME types. The ProcessResponse path in internal/bodyprocessors/json.go invokes readJSON with ignoreJSONRecursionLimit set to -1. The recursive guard decrements the counter and only terminates when it reaches zero. Passing -1 causes the counter to skip the stop condition on every recursion level, so recursion continues until the input is fully consumed.
When combined with the default ResponseBodyLimit, an attacker who controls or influences a response payload can cause the parser to perform quadratic work. Each affected response pins one CPU core for several seconds. Repeated requests scale into a sustained denial-of-service condition against the WAF process.
Root Cause
The root cause is a missing bound on response-body JSON recursion depth. The configuration structure defined RequestBodyRecursionLimit but had no equivalent ResponseBodyRecursionLimit. The response processor therefore disabled the depth check by passing a sentinel value that the guard treated as effectively infinite.
Attack Vector
Exploitation requires response-body inspection to be enabled and a protected endpoint that returns attacker-influenced JSON. The attack vector is network-based and does not require authentication. Request JSON processing is not affected because it uses the configured request recursion limit.
DirMode fs.FileMode
// RequestBodyRecursionLimit is the maximum recursion level accepted in a body processor
RequestBodyRecursionLimit int
// ResponseBodyRecursionLimit is the maximum recursion level accepted in a body processor
ResponseBodyRecursionLimit int
// ArgumentLimit is the maximum number of arguments accepted per collection.
// When exceeded, additional arguments are dropped and ArgumentsLimitReached is set.
ArgumentLimit int
Source: GitHub Coraza Commit cae3c74
Detection Methods for CVE-2026-107833
Indicators of Compromise
- Sustained high CPU usage in Coraza-protected processes correlated with inbound requests to JSON-returning endpoints.
- Response latency spikes on endpoints that produce application/json content when response-body inspection is enabled.
- Requests that elicit deeply nested JSON responses from upstream services or data stores.
Detection Strategies
- Profile the WAF process for prolonged single-core saturation during response processing.
- Correlate request patterns against endpoints returning JSON above typical nesting depth.
- Review Coraza version metadata across deployments to identify instances running versions earlier than 3.8.0.
Monitoring Recommendations
- Instrument the WAF host with CPU-per-request telemetry and alert on sustained outliers.
- Track p95 and p99 response latencies for JSON endpoints behind Coraza.
- Ingest WAF process metrics into a centralized data lake for cross-host analysis of anomalies.
How to Mitigate CVE-2026-107833
Immediate Actions Required
- Upgrade OWASP Coraza to version 3.8.0 or later across all deployments.
- Audit SecResponseBodyAccess and SecResponseBodyMimeType directives to confirm whether JSON response inspection is enabled.
- If upgrade is not immediate, disable response-body JSON inspection on exposed endpoints.
Patch Information
The fix is included in GitHub Coraza Release v3.8.0. The patch adds a ResponseBodyRecursionLimit configuration field and a new SecResponseBodyJsonDepthLimit directive. Review the GitHub Security Advisory GHSA-3c6w-j9xm-8h2h for full details.
Workarounds
- Disable response-body inspection for JSON MIME types until the upgrade is applied.
- Reduce SecResponseBodyLimit to constrain the amount of data processed per response.
- Place rate limits in front of endpoints that return JSON to reduce exploitation surface.
# Configuration example from the patched coraza.conf-recommended
SecResponseBodyMimeType text/plain text/html text/xml
# Configures the maximum JSON recursion depth limit Coraza will accept in
# response bodies (e.g. when SecResponseBodyMimeType includes application/json).
SecResponseBodyJsonDepthLimit 1024
Source: GitHub Coraza Commit cae3c74
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

