{"id":"CVE-2026-56221","state":"PUBLISHED","title":"Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts","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.","publishedAt":"2026-06-22T21:04:43.355Z","updatedAt":"2026-06-23T12:24:57.330Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Cap-go capgo"],"affected":[{"vendor":"Cap-go","product":"capgo","packageURL":"pkg:npm/capgo","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"12.128.2","versionType":"semver"},{"version":"12.128.2","status":"unaffected","versionType":"semver"}]}],"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"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56221","state":"PUBLISHED","datePublished":"2026-06-22T21:04:43.355Z","dateUpdated":"2026-06-23T12:24:57.330Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-19T21:43:24.737Z"},"containers":{"cna":{"title":"Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts","descriptions":[{"lang":"en","value":"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":[{"vendor":"Cap-go","product":"capgo","packageURL":"pkg:npm/capgo","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"12.128.2","versionType":"semver"},{"version":"12.128.2","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/Cap-go/capgo/security/advisories/GHSA-f83x-p28r-pf74","name":"GitHub Security Advisory (GHSA-f83x-p28r-pf74)","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/cap-go-sql-injection-in-cloudflare-analytics-engine-queries-via-cloudflare-ts","name":"VulnCheck Advisory: Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-22T21:04:43.355Z"},"datePublic":"2026-04-24T00:00:00.000Z","x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Cap-go/capgo/security/advisories/GHSA-f83x-p28r-pf74","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-23T12:24:14.247287Z","id":"CVE-2026-56221","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-23T12:24:57.330Z"}}]}}}