CVE-2026-107826: Coraza JSON body processor · argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
Affects github.com/corazawaf/coraza/v3Source GCVE Database
Mentioned vulnerabilities
CVSS 7.5 High : upgrade to 3.8.1 soon.
Data as of 9 Oct 2026, 22:36 UTC
- Patch
- Available – fixed in 3.8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Upgrade github.com/corazawaf/coraza/v3 to 3.8.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/corazawaf/coraza/v3 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade Coraza to version 3.8.1 or later where this issue is fixed. The fix involves adding an explicitly bounded-depth pre-scan or reusing readItems' recursion accounting before calling gjson.Valid to prevent unbounded recursion. Until patched, no effective mitigation exists as the crash is unrecoverable and triggered by default configuration limits.
Description
A stack overflow vulnerability exists in the Coraza JSON body processor (github.com/corazawaf/coraza/v3) that can cause the entire host process to crash. This occurs due to an unbounded recursion in the gjson.Valid function when processing deeply nested JSON bodies that bypass argument and byte limits. An unauthenticated attacker can trigger this with a crafted JSON request body well within default and recommended size limits, causing a fatal stack overflow that terminates the process unconditionally.
References
- github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2 (opens in a new tab)
- github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f (opens in a new tab)
- github.com/corazawaf/coraza (opens in a new tab)
- github.com/corazawaf/coraza/releases/tag/v3.8.1 (opens in a new tab)