CVE-2026-107833
MEDIUM 5.9CVSS 3.1Coraza: Unbounded recursion in JSON response body processor causes CPU exhaustion
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, ProcessResponse in internal/bodyprocessors/json.go passes the ignoreJSONRecursionLimit value of -1 to readJSON, while the recursive guard only stops at zero. A network attacker who can cause an application protected by Coraza to return deeply nested JSON can make response-body processing perform quadratic work, consuming one CPU core for seconds per response within the default ResponseBodyLimit. Request JSON processing is not affected by this specific path because it uses the configured request recursion limit, and exploitation requires response-body inspection to be enabled. This issue is fixed in version 3.8.0.
- Published
- 9 Oct 2026
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-674
- Also known as
- GHSA-3c6w-j9xm-8h2hGO-2026-6690
- Sources
- NVDJSONOSV GHSA-3c6w-j9xm-8h2hJSONOSV GO-2026-6690JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/corazawaf/coraza/v3 | >= 3.0.0, < 3.8.0 | 3.8.0 |
| OSV | Go | github.com/corazawaf/coraza | all versions | |
| OSV | Go | github.com/corazawaf/coraza/v2 | all versions |
References
- https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a · WEB, FIX
- https://github.com/corazawaf/coraza/releases/tag/v3.8.0 · WEB
- https://github.com/corazawaf/coraza/security/advisories/GHSA-3c6w-j9xm-8h2h · WEB, ADVISORY
- https://github.com/corazawaf/coraza · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 9 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Oct 2026)