Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-107833 EUVD-2026-95926GHSA-3c6w-j9xm-8h2hGO-2026-6690

OWASP Coraza WAF: Unbounded recursion in JSON response body processor causes CPU exhaustion

Published Oct 9, 2026 · Updated Oct 9, 2026 · Assigned by GitHub_M

Description

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, ProcessResponse in internal/bodyprocessors/json.go passes the ignoreJSONRecursionLimit value of -1 to readJSON, while the recursive guard only stops at zero. A network attacker who can cause an application protected by Coraza to return deeply nested JSON can make response-body processing perform quadratic work, consuming one CPU core for seconds per response within the default ResponseBodyLimit. Request JSON processing is not affected by this specific path because it uses the configured request recursion limit, and exploitation requires response-body inspection to be enabled. This issue is fixed in version 3.8.0.

Affected products

VendorProductAffectedFixed
corazawaf coraza >= 3.0.0, < 3.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/corazawaf/coraza all versions — GO-2026-6690
Go github.com/corazawaf/coraza/v2 all versions — GO-2026-6690
Go github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0 3.8.0 GHSA-3c6w-j9xm-8h2h

References