Vulnerability · Published Oct 9, 2026 · Assigned by GitHub_M
CVE-2026-107826OWASP Coraza WAF: JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
High 7.5
In plain English
A high-severity security flaw in coraza from corazawaf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/corazawaf/coraza | no fix listed | GO-2026-6693 |
| Go | github.com/corazawaf/coraza/v2 | no fix listed | GO-2026-6693 |
| Go | github.com/corazawaf/coraza/v3 | 3.8.1 | GHSA-6gcq-wc29-5xf2 |
| Go | github.com/corazawaf/coraza/v3 | 3.8.1 | GO-2026-6693 |
Affected products (as reported)
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2 x_refsource_CONFIRM
- https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f x_refsource_MISC
- https://github.com/corazawaf/coraza/releases/tag/v3.8.1 x_refsource_MISC