# CVE-2026-107826: OWASP Coraza WAF: JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-08T17:45:46.000Z
- Modified: 2026-10-19T21:40:44.388Z
- Also known as: GHSA-6gcq-wc29-5xf2, GO-2026-6693
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- corazawaf coraza: >= 3.0.0, < 3.8.1
- github.com/corazawaf/coraza/v3 (Go): from 3.0.0 before 3.8.1
- github.com/corazawaf/coraza (Go): all versions
- github.com/corazawaf/coraza/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `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> (exploit, advisory, web)
- <https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f> (fix, web)
- <https://github.com/corazawaf/coraza/releases/tag/v3.8.1> (web)
- <https://github.com/corazawaf/coraza> (package)

## Sources

- CVE List: [CVE-2026-107826](https://www.cve.org/CVERecord?id=CVE-2026-107826), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-6gcq-wc29-5xf2](https://github.com/advisories/GHSA-6gcq-wc29-5xf2), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6693](https://pkg.go.dev/vuln/GO-2026-6693), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-107826](https://nvd.nist.gov/vuln/detail/CVE-2026-107826), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-107826 · Whole record: https://cve.day/CVE-2026-107826.json · Rebuilt by cve.day 2026-11-25T22:59:43.347Z
