Skip to main content

Capgo EUVDEUVD-2026-38364

| CVE-2026-56221 HIGH
SQL Injection (CWE-89)
2026-06-22 VulnCheck
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain read-level Capgo API key
  2. Delivery
    Identify analytics endpoint in cloudflare.ts
  3. Exploit
    Inject SQL via deviceIds or search parameter
  4. Execution
    Break out of tenant WHERE clause
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

capgo 0 <12.128.2

Affected Packages

euvd capgo fix: 12.128.2

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 22, 2026 - 23:02 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source Capacitor OTA platform, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Cap Go

View all
CVE-2026-88864 CRITICAL
9.3 Sep 10

Improper access control in Capgo (capgo.app) lets any holder of an ordinary full API key forge a trusted SSO provider by

CVE-2026-88860 CRITICAL
9.3 Sep 10

Authorization bypass in Capgo (capgo.app), a live-update/OTA platform for Capacitor mobile apps, allows a de-provisioned

CVE-2026-56081 CRITICAL
9.3 Jun 19

Account pre-registration hijack in Capgo before 12.128.2 lets a remote unauthenticated attacker claim an account under a

CVE-2026-56073 CRITICAL
9.3 Jun 19

Authentication bypass in Capgo prior to version 12.128.2 lets attackers defeat email-based OTP verification by tampering

CVE-2026-56245 HIGH
8.8 Jun 24

Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing

CVE-2026-100622 HIGH
8.7 Sep 26

Unauthenticated retrieval of deleted over-the-air update bundles from capgo.app through version 12.129.0 is possible via

CVE-2026-100623 HIGH
8.7 Sep 26

Capgo's direct exposure of the public.org_users table through Supabase PostgREST lets an authenticated user who already

CVE-2026-100619 HIGH
8.7 Sep 26

Authenticated principals who hold an app-scoped upload/write/all API key with upload+ rights - or any user granted write

CVE-2026-100614 HIGH
8.7 Sep 26

Cross-tenant metadata modification in Capgo before 12.244.1 allows an authenticated attacker to alter image object metad

CVE-2026-88862 HIGH
8.7 Sep 10

Privilege escalation in the Capgo (capgo.app) backend through version 12.242.4 allows an authenticated API key holder to

CVE-2026-100615 HIGH
8.7 Sep 26

Privilege escalation in Capgo (capgo.app) before 12.267.1 allows a principal holding the apikey_manager role to rotate a

CVE-2026-100617 HIGH
8.7 Sep 26

Authenticated administrators on Capgo (capgo.app) can grant channel-scoped permissions to non-member users because the p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy