{"id":"CVE-2026-107826","published":"2026-10-09T18:17:04.673","lastModified":"2026-10-09T18:17:04.673","description":"OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.1, readJSON in internal/bodyprocessors/json.go can stop its bounded flattening walk after reaching SecArgumentsLimit or the byte budget and then call gjson.Valid on the complete raw body. An unauthenticated attacker can submit shallow values followed by an extremely deeply nested JSON tail that was not visited by the bounded walk, causing gjson.Valid to recurse without a depth bound and terminate the hosting process with an unrecoverable fatal stack overflow. The ProcessRequest and ProcessResponse JSON paths share the affected readJSON validation flow, and the payload can remain within recommended body-size and argument-count limits. This issue is fixed in version 3.8.1.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-674"],"vendors":[],"products":[],"references":[{"url":"https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f","tags":[]},{"url":"https://github.com/corazawaf/coraza/releases/tag/v3.8.1","tags":[]},{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2","tags":[]},{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2","tags":[]}],"exploitRefs":[{"url":"https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f","tags":[]},{"url":"https://github.com/corazawaf/coraza/releases/tag/v3.8.1","tags":[]},{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2","tags":[]},{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2","tags":[]}],"hasPoc":true,"ai":{"summary":"OWASP Coraza WAF's JSON parsing function can crash due to unbounded recursion when processing deeply nested JSON structures, leading to denial of service. An attacker can trigger this by crafting a payload with shallow initial values and an extremely deep nested tail that bypasses the bounded flattening walk.","exploitability":"Very easy to exploit with no prerequisites; an unauthenticated attacker can send a specially crafted JSON payload that triggers stack overflow without requiring any authentication or session state.","blast_radius":"High impact across all applications using vulnerable Coraza WAF versions, potentially causing widespread service disruption as the hosting process crashes and restarts.","remediation":"Upgrade to version 3.8.1 or later","detection":"No reliable host or network indicator is derivable from the published description.","tags":["waf","dos","json","go"],"model":"garnet-coder","analyzedAt":"2026-10-17T09:00:36.960Z"}}