MEDIUM5.9
GO-2026-6690
Coraza: Unbounded recursion in JSON response body processor causes CPU exhaustion in github.com/corazawaf/coraza
Quick fix
GO-2026-6690 — github.com/corazawaf/coraza/v3: upgrade to the fixed version with the command below.
go get github.com/corazawaf/coraza/v3@v3.8.0Details
Coraza: Unbounded recursion in JSON response body processor causes CPU exhaustion in github.com/corazawaf/coraza
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/corazawaf/coraza
Introduced in:
0No fixed version published yet for github.com/corazawaf/coraza (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/corazawaf/coraza/v2
Introduced in:
0No fixed version published yet for github.com/corazawaf/coraza/v2 (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/corazawaf/coraza/v3
Introduced in:
3.0.0Fixed in: 3.8.0Fix
go get github.com/corazawaf/coraza/v3@v3.8.0