V3: Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection
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.
CVSS v3.1
Score 5.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Coraza's JSON body processor converts nested JSON properties into flattened dot-separated keys in a single map without escaping dots in literal property names. This causes collisions when a nested property and a literal dotted property share the same flattened key, allowing the latter to overwrite the former. An attacker can exploit this by placing a malicious nested property (e.g., containing SQL injection payload) and a harmless dotted property with the same flattened key, causing Coraza to inspect only the harmless value and bypass OWASP CRS detection. The backend JSON parser preserves both properties distinctly, so the malicious payload reaches the backend undetected by Coraza. This flaw was demonstrated with a proof of concept against CRS v4.25 and affects Coraza versions >=3.0.0 <3.8.1.
Potential Impact
An unauthenticated attacker can bypass OWASP Core Rule Set inspection by exploiting JSON key collisions in Coraza's JSON body processor. This allows malicious payloads, such as SQL injection attempts, to reach backend applications without being detected or blocked by Coraza and CRS. The vulnerability does not cause denial of service or data corruption within Coraza itself but undermines the effectiveness of the WAF inspection, potentially exposing backend systems to injection attacks.
Mitigation Recommendations
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5gj4-9gm7-2fx2
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac80fc02cdf04f65639c36b
Added to database: 10/08/2026, 21:48:48 UTC
Last enriched: 10/08/2026, 22:12:33 UTC
Last updated: 10/08/2026, 22:12:33 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.