Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to /rest/v1/rpc/exist_app_v2
-
DeliverySupply arbitrary appid in JSON body
-
ExploitSECURITY DEFINER function queries public.apps table with owner privileges
-
ExecutionResponse reveals boolean app existence
-
PersistIterate across candidate app IDs
-
ImpactBuild cross-tenant app enumeration map
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration or conditions are required for exploitation - the exist_app_v2 RPC endpoint is exposed to unauthenticated network callers by design of the SECURITY DEFINER function and the PostgREST anon role configuration in affected Capgo versions. The CVSS vector (PR:N, AV:N, AC:L) confirms unauthenticated network exploitation against default deployments. What limits exploitation is the narrow information gain: only app_id existence is revealed, not app content, credentials, or user data. Exploitation is also limited to deployments of Capgo (cloud or self-hosted) running a version prior to 12.128.2, and to environments where the PostgREST API is reachable from the attacker's network - self-hosted instances with strict network perimeters reduce exposure. |
| Impact | The CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N yields a score of 6.9, reflecting network accessibility with zero authentication or complexity barriers, but limited confidentiality impact confined to the vulnerable system. The attack is trivially automatable - any HTTP client can enumerate app IDs at scale by iterating appid values - which elevates practical risk above what the 'low confidentiality' rating might suggest. EPSS data was not provided, so exploitation probability cannot be quantified; however, the trivial attack vector and absence of authentication mean the exploitation ceiling is high if adversaries discover the endpoint. The vulnerability is not listed in the CISA KEV catalog, and no public exploit code is identified at time of analysis. The primary business risk is cross-tenant privacy violation and competitive intelligence gathering: knowledge of which app IDs exist could allow a threat actor to correlate Capgo-hosted apps with their operators, enumerate competitor or partner apps, or stage more targeted follow-on attacks. The impact is scoped to confidentiality only - integrity and availability are unaffected - and no scope change affects subsequent systems, so this is not a pivot point for deeper compromise without additional vulnerabilities. |
| Exploit ScenarioDerived | An attacker with no credentials sends a sequence of HTTP POST requests to https://[capgo-instance]/rest/v1/rpc/exist_app_v2 with a JSON body containing incrementing or guessed appid values such as known app naming conventions. Each response from the SECURITY DEFINER function reveals whether the submitted app ID exists in the platform's global apps table, allowing the attacker to build a map of all tenant app IDs without interacting with any authenticated surface. No public exploit code is identified at time of analysis, but the attack requires only standard HTTP tooling (curl, Python requests) and a list of candidate app IDs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Unauthenticated app enumeration in Capgo before 12.128.2 allows remote attackers to determine whether specific app_ids exist across all tenants by querying the exposed exist_app_v2 RPC endpoint without credentials. The root cause is a PostgreSQL SECURITY DEFINER function that executes with elevated owner privileges, bypassing row-level security policies and enabling cross-tenant information disclosure via the PostgREST API at POST /rest/v1/rpc/exist_app_v2. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code is identified at time of analysis, though the attack requires no authentication and trivial HTTP tooling.
RemediationAI
Upgrade Capgo to version 12.128.2 or later, as documented in the vendor security advisory at https://github.com/Cap-go/capgo/security/advisories/GHSA-wjqr-gmx8-jj56. For self-hosted deployments that cannot immediately upgrade, the most targeted compensating control is to revoke public (unauthenticated) access to the /rest/v1/rpc/exist_app_v2 endpoint at the API gateway or reverse proxy layer - this has the trade-off of breaking any legitimate unauthenticated callers of the function, which should be none in a correctly designed multi-tenant system. Alternatively, the SECURITY DEFINER attribute can be removed from the function and replaced with SECURITY INVOKER so that caller-level RLS policies are enforced; this requires testing to ensure the function still operates correctly for authenticated callers. Restricting the PostgREST anon role from executing the exist_app_v2 function via a REVOKE EXECUTE statement is also a precise mitigation with minimal operational impact. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/capgo-information-disclosure-via-unauthenticated-rpc-function-exist-app-v2 for additional context.
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 live-update platform for Capacitor mobile apps, built on a Supabase backend which exposes PostgreSQL functions via a PostgREST REST API. The vulnerable function, public.exist_app_v2, is declared as SECURITY DEFINER - a PostgreSQL mechanism that causes the function to execute with the privileges of its owning database role rather than the calling role. This design pattern, when applied to public-facing RPC endpoints, effectively nullifies row-level security (RLS) policies that would otherwise restrict cross-tenant data access, because RLS is enforced based on the session role, not the function owner. The result is that an unauthenticated HTTP client can POST an arbitrary appid to /rest/v1/rpc/exist_app_v2 and receive a boolean signal revealing whether that app ID exists in the public.apps table. The root cause class is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), specifically the misconfigured privilege escalation path within a shared multi-tenant data model. The CPE cpe:2.3:a:capgo:capgo:*:*:*:*:*:*:*:* covers all versions of the Capgo application prior to the fix.
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:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-accessible unauthenticated endpoint with no complexity; only limited confidentiality impact (app ID existence), no integrity or availability impact, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Capgo before 12.128.2 contains an information disclosure vulnerability in the public.exist_app_v2 RPC function that allows unauthenticated attackers to enumerate app_ids by calling POST /rest/v1/rpc/exist_app_v2 with arbitrary appid parameters. Remote attackers can exploit this SECURITY DEFINER function to determine whether specific app_ids exist in the public.apps table, enabling cross-tenant app enumeration and privacy violations.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-38751
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB