CVE-2026-107826 OWASP Coraza WAF: JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Network Appliances
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| corazawaf coraza(Go) | >= 3.0.0, < 3.8.1; All versions | 3.8.1 | Partially fixed |
| corazawaf coraza | = >= 3.0.0, < 3.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| corazawaf coraza(Go) | >= 3.0.0, < 3.8.1 | 3.8.1 |
| corazawaf coraza(Go) | All versions | No fix listed |
| corazawaf coraza | = >= 3.0.0, < 3.8.1 | No fix listed |
References
- https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2 exploit vendor-advisory
- https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f patch
- github.com product
- https://github.com/corazawaf/coraza/releases/tag/v3.8.1
- github.com
- ENISA EUVD EUVD-2026-95925 third-party-advisory