github.com/corazawaf/coraza/v3 · V3: Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection
Affects github.com/corazawaf/coraza/v3Source GCVE Database
CVSS 5.8 Medium : upgrade to 3.8.1 when convenient.
Data as of 8 Oct 2026, 22:12 UTC
- Patch
- Available – fixed in 3.8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NWhat to do
Upgrade github.com/corazawaf/coraza/v3 to 3.8.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/corazawaf/coraza/v3 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade Coraza to version 3.8.1 or later where this JSON key collision issue is fixed. Until patched, no reliable workaround is documented. The vendor advisory confirms the availability of an official fix. Users should apply the update promptly to restore effective OWASP CRS inspection of JSON request bodies.
Description
Coraza v3's JSON body processor flattens nested JSON properties into dot-separated keys without escaping dots in property names, causing key collisions. This allows an unauthenticated attacker to bypass OWASP Core Rule Set (CRS) inspection by overwriting malicious nested JSON values with harmless dotted keys. The vulnerability affects Coraza versions from 3.0.0 up to but not including 3.8.1. The issue was confirmed against CRS v4.25 and can bypass SQL injection detection rules. A patch is available for this vulnerability.
References
- github.com/corazawaf/coraza/security/advisories/GHSA-5gj4-9gm7-2fx2 (opens in a new tab)
- github.com/corazawaf/coraza/commit/52af139cab5ad10c5cb0152a161063b523907bdf (opens in a new tab)
- github.com/corazawaf/coraza/commit/5f577a548aeb9ca836122df4258f93ef6cfab38a (opens in a new tab)
- github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a (opens in a new tab)
- github.com/corazawaf/coraza (opens in a new tab)
- github.com/corazawaf/coraza/releases/tag/v3.8.1 (opens in a new tab)