What’s Vulnerable › Vulnerabilities
CVE-2026-56221: Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-22 · updated 2026-10-25
- Weakness: CWE-89
Description
Cap-go before 12.128.2 contains multiple SQL injection vulnerabilities in cloudflare.ts where user-controlled values from API request bodies are interpolated directly into SQL query strings without sanitization or parameterization. Authenticated users with read-level API key permissions can inject arbitrary SQL through deviceIds, search, version_name, cursor, and actions parameters to access analytics data belonging to other users or applications.
Affected products
- Cap-go capgo: before 12.128.2 — fixed in 12.128.2
How to fix
Upgrade to a fixed version: Cap-go capgo 12.128.2. Check the vendor advisory for mitigations.
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-f83x-p28r-pf74
- https://www.vulncheck.com/advisories/cap-go-sql-injection-in-cloudflare-analytics-engine-queries-via-cloudflare-ts
- https://github.com/Cap-go/capgo/security/advisories/GHSA-f83x-p28r-pf74
Get alerted when CVE-2026-56221 or the next vulnerability affects your stack