Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconExtract public anon key from Capgo client app
-
DeliveryIdentify or enumerate victim tenant app_id
-
ExploitPOST crafted payload to /rest/v1/rpc/upsert_version_meta
-
InstallSECURITY DEFINER function bypasses ownership check
-
C2Arbitrary version_meta rows inserted for victim app_id
-
ExecuteVictim dashboard displays persistent false storage metrics
-
ImpactFalse alerts or billing anomalies triggered
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully unauthenticated, low-complexity, network-reachable exploitation with no preconditions - the highest possible exploitability profile. The impact metrics (VC:N/VI:L/VA:N/SC:N/SI:N/SA:N) reflect a narrow integrity-only footprint, yielding a 6.9 base score. The critical nuance that elevates real-world risk above the moderate score is the cross-tenant nature of the write: the public anon key is intentionally distributed to all Capgo clients and is not a secret, meaning any user of the Capgo platform can target any other tenant's app_id. Persistent false data in storage metrics dashboards can cascade to alert fatigue, incorrect billing computations, or misdirected incident response. No CISA KEV listing and no confirmed public exploit code reduce immediate urgency, but the zero-credential requirement means exploitation is within reach of any motivated user. EPSS data was not provided in the input; risk should be weighted toward prompt patching given the trivial attack complexity. |
| Exploit ScenarioDerived | An attacker extracts the Capgo public anon key from a distributed mobile or web application bundle - requiring no authentication or special access - and sends a crafted HTTP POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 20, 2026
Cross-tenant metrics poisoning in Capgo before 12.128.2 allows unauthenticated remote attackers to insert arbitrary rows into the version_meta table for any tenant's app_id by invoking the PostgREST RPC endpoint using only the public anonymous key. The root cause is a missing authorization check inside a SECURITY DEFINER PostgreSQL function, which executes with elevated definer privileges while accepting caller-supplied app_id values without ownership validation. Although no public exploit code or CISA KEV listing exists at time of analysis, the attack requires no credentials beyond the public anon key - typically embedded in distributed client applications - making the practical barrier to exploitation extremely low despite the moderate CVSS 4.0 score of 6.9.
RemediationAI
Upgrade Capgo to version 12.128.2 or later; this is the vendor-released patch confirmed by the GitHub Security Advisory GHSA-g4hx-x8gc-x6rw at https://github.com/Cap-go/capgo/security/advisories/GHSA-g4hx-x8gc-x6rw. If immediate upgrade is not possible, restrict unauthenticated access to the upsert_version_meta RPC endpoint at the PostgREST or API gateway layer - for example, by removing or revoking EXECUTE permission on the function from the anon role in PostgreSQL (REVOKE EXECUTE ON FUNCTION public.upsert_version_meta FROM anon;); note this will break any legitimate unauthenticated version-meta reporting flow and requires testing against Capgo client behavior. Additionally, enabling PostgREST audit logging on RPC calls and alerting on anomalous cross-tenant app_id patterns can support detection of exploitation attempts while a patch window is arranged. The VulnCheck advisory at https://www.vulncheck.com/advisories/capgo-unauthenticated-cross-tenant-metrics-poisoning-via-upsert-version-meta-rpc provides supplementary technical detail.
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 a Capacitor-based live update platform built on a Supabase (PostgreSQL + PostgREST) backend. The vulnerability resides in the PostgreSQL function public.upsert_version_meta, declared with the SECURITY DEFINER attribute, causing it to execute under the definer's database role rather than the calling user's role. PostgREST automatically exposes this function as a REST RPC endpoint accessible via HTTP. CWE-862 (Missing Authorization) is the root cause: the function performs no row-level ownership check to confirm that the caller controls the supplied app_id, enabling any caller - including those presenting only the public anon role - to write arbitrary version_meta entries into another tenant's namespace. The affected product is identified by CPE 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:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network RPC with public anon key warrants PR:N; cross-tenant write to another tenant's namespace constitutes a scope change (S:C) with low integrity-only impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Capgo before 12.128.2 contains an authorization bypass vulnerability in the public.upsert_version_meta SECURITY DEFINER function exposed via PostgREST RPC, allowing unauthenticated attackers to insert arbitrary rows into version_meta for any app_id. Attackers can exploit this by calling the RPC endpoint with a public anon key to poison storage metrics, causing persistent false data in dashboards and triggering incorrect alerts across victim applications.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in Capgo Authentication and Authorization Flaws
View all 5Cross-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 before 12.128.2 lets remote unauthenticated attackers mint arbitrary API keys by tamperin
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
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
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
Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers read organization RBAC role bindin
Cross-tenant authorization bypass in Capgo before 12.128.2 lets authenticated users impersonate another tenant's limited
EUVD-2026-38099
GHSA-5495-g4j9-gjwq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB