Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain platform admin credentials
-
DeliveryAuthenticate to Capgo admin API
-
ExploitSend crafted POST /private/admin_stats with injected limit value
-
ExecutionSQL fragment interpolated into Analytics Engine query
-
ImpactEnumerate dataset schemas or extract 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 | Exploitation requires valid Capgo platform admin credentials, confirmed by the CVSS 4.0 PR:H metric. The endpoint /private/admin_stats is only reachable by authenticated platform administrators - non-admin users, regular application users, and unauthenticated actors cannot reach this code path. No special network configuration is required (AV:N, AC:L): any network-reachable Capgo instance can be targeted, but only by an admin-credentialed session. The injection surface is specifically the limit parameter in the POST request body. Exploitation is therefore limited to insider threat scenarios, compromised admin account scenarios, or cases where an attacker has separately achieved admin-level privilege escalation. No non-default configuration is required - the vulnerability exists in the default admin stats endpoint. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) is appropriate and well-calibrated to the real-world risk. The vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VA:L correctly captures that while the endpoint is network-reachable with no complexity barriers, exploitation requires platform admin credentials (PR:H) - meaning only insiders, compromised admin accounts, or actors who have already achieved admin-level privilege can reach this attack surface. Confidentiality impact is Low (VC:L) and availability impact is Low (VA:L), with no integrity impact, aligning with the described outcomes of schema enumeration, analytics data extraction, and backend DoS. No EPSS score was provided in the input data; there is no CISA KEV listing; and no public POC has been identified. This is a real, confirmed vulnerability but a low operational priority for most organizations unless insider threat or admin account compromise is a primary concern. The absence of KEV listing and POC means it does not warrant emergency response. |
| Exploit ScenarioDerived | An attacker who has obtained Capgo platform admin credentials - through phishing, credential stuffing, or insider access - sends a POST request to /private/admin_stats with a limit parameter value such as 1 UNION SELECT schema_name FROM analytics_datasets. The unsanitized value is interpolated directly into the Cloudflare Analytics Engine SQL query, returning dataset schema information in the API response. No public exploit code has been identified at time of analysis, but the technique is trivially constructable from the description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 12, 2026
SQL injection in Capgo's POST /private/admin_stats endpoint allows platform administrators to inject arbitrary SQL fragments into Cloudflare Analytics Engine queries via an unsanitized limit parameter. Affected versions are all Capgo releases before 12.128.2. An attacker holding valid platform admin credentials can exploit this to enumerate analytics dataset schemas, extract analytics data, or cause denial-of-service against the analytics backend. No public exploit has been identified at time of analysis, and the high-privilege requirement (PR:H) substantially limits realistic blast radius.
RemediationAI
Upgrade Capgo to version 12.128.2 or later, which resolves the SQL injection by applying proper input validation or parameterization to the limit parameter before it reaches the Analytics Engine query. The fix is detailed in the vendor advisory at https://github.com/Cap-go/capgo/security/advisories/GHSA-6ffx-8hjj-jhhf. If immediate upgrade is not feasible, apply a WAF or API gateway rule on the POST /private/admin_stats route that enforces the limit parameter as a strictly numeric integer (e.g., regex ^[0-9]+$) and rejects any non-conforming value - this eliminates the injection surface with minimal functional impact. Additionally, restrict access to all /private/admin_stats requests to known administrative IP ranges, reducing the attack surface to trusted network segments. Note that the WAF approach is a compensating control only and does not eliminate the underlying CWE-89 flaw in the application code.
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 platform for Capacitor-based mobile applications. The vulnerable code path is in the backend admin API: the POST /private/admin_stats route destructures the limit parameter directly from the raw, unvalidated request body and interpolates it into a Cloudflare Analytics Engine SQL query string using JavaScript template literals - a classic CWE-89 (Improper Neutralization of Special Elements in an SQL Command) pattern. Cloudflare Analytics Engine exposes a SQL-like query interface, and because no parameterization or allowlist validation is applied to limit before string concatenation, an attacker can inject SQL keywords, subqueries, or destructive clauses. The affected CPE is cpe:2.3:a:capgo:capgo:*:*:*:*:*:*:*:*, covering all versions prior to 12.128.2.
Know when Capgo 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:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Admin credential requirement drives PR:H; impacts are partial analytics read and backend disruption only, so C:L, I:N, A:L; scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Capgo before 12.128.2 contains a sql injection vulnerability in the POST /private/admin_stats endpoint where the limit parameter is destructured from unvalidated request body and interpolated directly into Cloudflare Analytics Engine SQL queries via template literals. An attacker with platform admin credentials can inject SQL fragments to enumerate dataset schemas, extract analytics data, or cause denial-of-service against the analytics backend.
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.
Account pre-registration hijack in Capgo before 12.128.2 lets a remote unauthenticated attacker claim an account under a
Cross-domain SSO account takeover in Capgo before 12.128.2 allows an attacker with enterprise org admin access and a mal
Authentication bypass in Capgo prior to version 12.128.2 lets attackers defeat email-based OTP verification by tampering
Authentication bypass in Capgo before 12.128.2 lets remote unauthenticated attackers mint arbitrary API keys by tamperin
Rate-limit bypass in Capgo versions prior to 12.128.2 lets remote unauthenticated attackers flood the channel_self endpo
Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing
Server-side privilege escalation in Capgo before 12.128.2 lets authenticated users holding build permissions abuse a pat
Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers query the /functions/v1/channel_se
Unauthenticated information disclosure in Capgo before 12.128.2 exposes confidential business metrics through the Supaba
Unauthenticated denial of service in Cap-go capgo (capgo-backend) before 12.128.12 allows remote attackers to exhaust Po
Account takeover in Capgo before 12.128.2 stems from a password-change endpoint that omits current-password validation (
Information disclosure in Capgo (Capacitor live-update/OTA platform) before 12.128.2 lets unauthenticated callers abuse
EUVD-2026-43229
GHSA-p2w3-hw46-3q2w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB