CVE-2026-107826

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGithub.com/corazawaf/coraza/v3
PublishedOct 9, 2026
First seenOct 9, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • github.com/corazawaf/coraza/v33.8.1 or later

Affected products

ProductAffected versionsFixed in
github.com/corazawaf/coraza/v3Go3.0.0 ≤ v < 3.8.13.8.1
github.com/corazawaf/corazaGoNo range specified—
github.com/corazawaf/coraza/v2GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.