Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read-level Capgo API key
-
DeliveryIdentify analytics endpoint in cloudflare.ts
-
ExploitInject SQL via deviceIds or search parameter
-
ExecutionBreak out of tenant WHERE clause
-
ImpactExfiltrate other tenants' analytics data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold a valid Capgo API key with at least read-level permissions and reach the analytics endpoints backed by cloudflare.ts (which proxy queries to Cloudflare Analytics Engine); the vulnerable parameters are deviceIds, search, version_name, cursor, and actions in the API request body, and only Capgo deployments running a version before 12.128.2 are affected. No user interaction is required and the vector is network-reachable, but exploitation is limited to reading analytics data - there is no integrity or availability impact (VI:N/VA:N), and single-tenant self-hosted Capgo installs have no meaningful cross-tenant target. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) with score 7.1 is consistent with the description: network-reachable API, low complexity, low privileges (a read-level API key), no user interaction, and a high confidentiality impact bounded to analytics data with no integrity or availability effect. The realistic risk is moderate rather than critical because exploitation requires a valid API key - any unauthenticated path is not implied - and impact is limited to analytics records rather than full database compromise. EPSS and CISA KEV signals are not provided in the input, and no public PoC is referenced, so this should be treated as a known-but-not-yet-actively-exploited cross-tenant disclosure issue. SaaS operators of Capgo and self-hosters with multi-tenant deployments should treat it as higher priority than a single-tenant self-host, where the blast radius is effectively self-targeting. |
| Exploit ScenarioDerived | An attacker registers or compromises a Capgo account, obtains a read-level API key, and issues an analytics request whose deviceIds or search field contains a SQL fragment such as a UNION or boolean tautology that breaks out of the intended tenant-scoped WHERE clause. The Cloudflare Analytics Engine then returns analytics rows belonging to other applications or users, which the attacker exfiltrates iteratively across the five injectable parameters. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
SQL injection in Capgo (cap-go) before 12.128.2 allows authenticated users with read-level API keys to access analytics data belonging to other tenants by injecting arbitrary SQL through multiple unparameterized parameters in cloudflare.ts. The flaw stems from direct string interpolation of request-body values into Cloudflare Analytics Engine queries, enabling cross-tenant data exposure. No public exploit identified at time of analysis, though a VulnCheck advisory and an upstream GitHub Security Advisory document the issue.
RemediationAI
Vendor-released patch: upgrade Capgo to 12.128.2 or later, which addresses the SQL injection in cloudflare.ts per GHSA-f83x-p28r-pf74 (https://github.com/Cap-go/capgo/security/advisories/GHSA-f83x-p28r-pf74). Until the upgrade is deployed, operators should rotate or revoke read-level API keys held by untrusted tenants to shrink the population of accounts able to reach the vulnerable endpoints, and place a WAF or reverse-proxy rule in front of the analytics API to reject request bodies in which deviceIds, search, version_name, cursor, or actions contain SQL meta-characters such as quotes, semicolons, or comment sequences - accepting that this will break legitimate searches containing those characters. Multi-tenant SaaS operators should additionally audit Cloudflare Analytics Engine query logs for anomalous WHERE-clause patterns indicating prior cross-tenant access, and reference the VulnCheck write-up at https://www.vulncheck.com/advisories/cap-go-sql-injection-in-cloudflare-analytics-engine-queries-via-cloudflare-ts for indicators.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Capgo is an open-source live-update and OTA delivery platform for Capacitor mobile apps, with a backend that proxies analytics queries through Cloudflare Workers. The vulnerable cloudflare.ts module constructs SQL strings sent to Cloudflare Analytics Engine by concatenating user-supplied fields (deviceIds, search, version_name, cursor, actions) directly into the query, the textbook CWE-89 anti-pattern. Because the Analytics Engine SQL dialect does not enforce row-level tenant isolation by itself - the application relies on WHERE clauses to scope per-user data - injecting additional SQL syntax lets an attacker rewrite or extend those predicates and read other tenants' rows. CPE cpe:2.3:a:cap-go:capgo:*:*:*:*:*:*:*:* covers all Capgo versions prior to the fix.
Know when Cap Go gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable API with a read-level key (PR:L), no UI, straightforward injection (AC:L); impact limited to cross-tenant analytics disclosure, so C:H and I:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Capgo before version 12.128.2 contains a SQL injection vulnerability in its analytics engine that breaks tenant isolation, allowing authenticated users with read-level API keys to access analytics data belonging to other organizational tenants. This undermines a core security boundary of the multi-tenant platform and creates risk of cross-tenant data exposure. Organizations using Capgo must immediately restrict read-level API key distribution and implement compensating controls to contain exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Minimize read-level API key distribution to critical use cases only; (2) Implement role-based access controls restricting query scope per user; (3) Enable query-level logging and alerting on analytics access patterns; (4) Monitor for abnormal or cross-tenant query behavior; (5) Consider disabling analytics features if operationally non-critical pending patch release; (6) Audit historical API key usage logs for evidence of exploitation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Improper access control in Capgo (capgo.app) lets any holder of an ordinary full API key forge a trusted SSO provider by
Authorization bypass in Capgo (capgo.app), a live-update/OTA platform for Capacitor mobile apps, allows a de-provisioned
Account pre-registration hijack in Capgo before 12.128.2 lets a remote unauthenticated attacker claim an account under a
Authentication bypass in Capgo prior to version 12.128.2 lets attackers defeat email-based OTP verification by tampering
Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing
Unauthenticated retrieval of deleted over-the-air update bundles from capgo.app through version 12.129.0 is possible via
Capgo's direct exposure of the public.org_users table through Supabase PostgREST lets an authenticated user who already
Authenticated principals who hold an app-scoped upload/write/all API key with upload+ rights - or any user granted write
Cross-tenant metadata modification in Capgo before 12.244.1 allows an authenticated attacker to alter image object metad
Privilege escalation in the Capgo (capgo.app) backend through version 12.242.4 allows an authenticated API key holder to
Privilege escalation in Capgo (capgo.app) before 12.267.1 allows a principal holding the apikey_manager role to rotate a
Authenticated administrators on Capgo (capgo.app) can grant channel-scoped permissions to non-member users because the p
EUVD-2026-38364
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB