CVE-2026-107826
HIGH 7.5CVSS 3.1Coraza JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
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.
- 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-6gcq-wc29-5xf2GO-2026-6693
- Sources
- NVDJSONOSV GHSA-6gcq-wc29-5xf2JSONOSV GO-2026-6693JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/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.1 | 3.8.1 |
| OSV | Go | github.com/corazawaf/coraza | all versions | |
| OSV | Go | github.com/corazawaf/coraza/v2 | all versions |
References
- https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f · WEB, FIX
- https://github.com/corazawaf/coraza/releases/tag/v3.8.1 · WEB
- https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2 · 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)