Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain leaked plaintext Capgo API key
-
DeliveryIdentify target org's PostgREST/RLS endpoint
-
ExploitSend request with capgkey header
-
ExecutionBypass enforce_hashed_api_keys check
-
ImpactAccess protected tenant resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
|
| Exploitation Conditions | Exploitation requires (1) a Capgo deployment running a version prior to 12.128.2, (2) the org-level enforce_hashed_api_keys setting being enabled (otherwise there is no enforcement to bypass - only deployments that opted into hashed-only mode are meaningfully exposed to this specific bug), (3) network reachability to the PostgREST/RLS plane (matching CVSS AV:N), and (4) attacker possession of a valid plaintext API key that was issued for the target org, which is what PR:L in the vector reflects. Limiting factors: this is not an unauthenticated bypass - the attacker must already hold or steal a plaintext key, no user interaction is required (UI:N), and orgs that never turned on hashed-key enforcement are not in scope for this advisory. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) reflects a network-reachable, low-complexity bypass requiring some level of pre-existing privilege (a valid plaintext API key) and yielding high confidentiality and integrity impact with no availability impact - consistent with an authorization-boundary failure rather than RCE. There is no EPSS score, no CISA KEV listing, and no public POC referenced in the inputs, so real-world exploitation pressure is currently low; however, the bug is trivial to weaponize for anyone who already possesses or steals a plaintext key, and the security control it defeats (enforce_hashed_api_keys) is specifically the mitigation customers turn on to limit blast radius after key leakage. Net assessment: high priority for any organization that runs self-hosted Capgo and relied on hashed-key enforcement as a compensating control, lower priority for deployments that never enabled it. No conflicting data signals were identified in the provided inputs. |
| Exploit ScenarioDerived | An attacker who has obtained a previously-issued plaintext Capgo API key - for example, one leaked in a git history, mobile app bundle, or CI log - sends an HTTP request with that key in the capgkey header directly to the Capgo PostgREST/RLS endpoint. Even though the victim org has set enforce_hashed_api_keys to require hashed keys only, the request is accepted and the attacker reads or modifies tenant data within the scope of that key. No public exploit code is identified at time of analysis, but the technique is straightforward and requires only a standard HTTP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 23, 2026
Authentication bypass in Capgo before 12.128.2 allows authenticated attackers to defeat the org-level hashed-API-key control by submitting plaintext API keys via the capgkey header directly to the PostgREST/RLS plane. Despite the enforce_hashed_api_keys setting being toggled on, the data plane fails to honor that policy, granting access to protected resources. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade Capgo to 12.128.2 or later, as documented in the GitHub Security Advisory GHSA-6g74-8cpq-g2c8 (https://github.com/Cap-go/capgo/security/advisories/GHSA-6g74-8cpq-g2c8) and the VulnCheck writeup (https://www.vulncheck.com/advisories/capgo-hashed-api-key-enforcement-bypass-via-postgrest-rls-plane). Until the upgrade is applied, treat enforce_hashed_api_keys as non-binding and rotate any plaintext API keys that were issued prior to enabling hashed enforcement, since attackers can still present them via the capgkey header; additionally consider network-restricting the PostgREST/RLS plane so it is only reachable from the Capgo application tier and not from arbitrary internet clients, accepting that this will break any integrations that talk to PostgREST directly. Auditing recent PostgREST access logs for capgkey header values that look like plaintext (rather than hashed) keys is a useful detection-side compensating control with the side effect that it requires log retention you may not have today.
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 self-hostable live-update and OTA platform for Capacitor mobile applications that fronts its data with PostgREST and PostgreSQL Row-Level Security (RLS). API authentication is intended to flow through an org-level toggle, enforce_hashed_api_keys, which should require callers to present hashed keys rather than the original plaintext secret. CWE-288 (Authentication Bypass Using an Alternate Path or Channel) captures the root cause: the PostgREST/RLS plane is an alternate authentication path that does not honor the enforcement policy, so the capgkey header continues to accept plaintext API keys and resolves them to a valid identity even when the org has explicitly opted into hashed-only enforcement. The single affected CPE is cpe:2.3:a:capgo:capgo:*:*:*:*:*:*:*:* up to version 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:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable PostgREST endpoint (AV:N/AC:L), requires a valid plaintext API key so PR:L not PR:N, no UI, high C/I over tenant data, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Capgo before 12.128.2 contains a security control bypass vulnerability where the PostgREST/RLS plane accepts plaintext API keys through the capgkey header despite enforce_hashed_api_keys being enabled. Attackers can bypass org-level hashed-key enforcement by sending plaintext API keys directly to the PostgREST/RLS plane to access protected resources.
Executive ViewAI
Capgo versions before 12.128.2 contain an authentication bypass vulnerability allowing authenticated users to submit plaintext API keys and circumvent hashed-key enforcement controls, potentially accessing protected organizational resources. With no vendor-released patch identified at time of analysis and CVSS severity of 8.6, organizations must implement interim compensating controls.
Restrict network access to PostgREST/RLS data plane via firewall or VPC controls; mandate immediate API key rotation across all consumers with access revalidation; implement real-time logging and alerting for API requests with focus on plaintext key submission attempts; consider service isolation or suspension of non-critical Capgo instances until patch availability.
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.
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-38430
GHSA-2c7m-fxr4-462c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB