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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cap-go | capgo | < 12.128.2 | 12.128.2 |
References
- GitHub Security Advisory (GHSA-f83x-p28r-pf74) vendor-advisory
- VulnCheck Advisory: Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts third-party-advisory