Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials in target org
-
DeliveryAuthenticate to Capgo Supabase API
-
ExploitSend UPDATE on own org_users row setting role=super_admin
-
ExecutionBroken RLS policy accepts the change
-
PersistOperate with super_admin across all tenants
-
ImpactPush malicious OTA update or exfiltrate cross-tenant data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
|
| Exploitation Conditions | The attacker must already be authenticated to the Capgo backend and hold the admin role within an organization (CVSS PR:H), and the target instance must be running Capgo earlier than 12.128.2 with the default org_users RLS policy in place; no user interaction or non-default toggle is required and the attack vector is network-reachable Supabase/PostgREST endpoints (AV:N, UI:N, AT:N). What limits exploitation is the PR:H prerequisite - anonymous internet attackers cannot trigger this directly, and tenants whose admin accounts are protected by MFA and tight provisioning are exposed only through insider-threat or admin-account-compromise paths. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H scores 7.0 (High) and is internally consistent with the description: an attacker must already hold high privileges (an organization admin account), but once authenticated they can fully compromise integrity and availability of the tenant by becoming super_admin, with no confidentiality impact tagged because reads were already permitted at the admin tier. There is no EPSS score, no SSVC decision data, and no KEV listing supplied; combined with the PR:H requirement this is a meaningful but not internet-spray-able issue - realistic risk is dominated by insider/compromised-admin threat models and multi-tenant SaaS deployments of Capgo where one tenant's admin should not be able to seize platform-wide control. The Tags label this as 'Authentication Bypass', which is loose terminology - this is authorization/RLS bypass post-authentication, not unauthenticated access, so do not treat it as a perimeter bug. |
| Exploit ScenarioDerived | An attacker who has compromised or legitimately obtained an organization-level admin account in a multi-tenant Capgo deployment issues an authenticated UPDATE against the org_users row representing themselves, setting role to super_admin; the broken RLS policy fails to reject the change, and the attacker then uses the elevated super_admin context to read or tamper with any organization's update channels and push malicious OTA payloads to downstream mobile apps. No public exploit code has been identified at time of analysis, but the technique is straightforward once admin access is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Privilege escalation in Capgo before 12.128.2 allows authenticated users holding the admin role to elevate themselves to super_admin by abusing a broken row-level security (RLS) policy on the org_users table. No public exploit identified at time of analysis, but a vendor patch is available and the flaw was disclosed by VulnCheck through a GitHub Security Advisory.
RemediationAI
Vendor-released patch: Capgo 12.128.2 - upgrade self-hosted instances to 12.128.2 or later as documented in GHSA-9xqh-f26v-9c9h (https://github.com/Cap-go/capgo/security/advisories/GHSA-9xqh-f26v-9c9h). If immediate upgrade is not possible, operators can apply compensating controls at the Postgres layer by tightening the RLS policy on the org_users table to reject UPDATEs whose new role value is greater than the caller's current role (e.g. WITH CHECK (NEW.role <> 'super_admin' OR auth.jwt() ->> 'role' = 'super_admin')), or by temporarily revoking UPDATE on org_users.role from the authenticated Postgres role and channelling role changes through a SECURITY DEFINER function - the trade-off is that legitimate admin role-management workflows in the UI will break until policies are re-aligned. Auditing the org_users table for unexpected super_admin entries and rotating credentials of any account that should not hold that role is recommended before declaring the issue closed.
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 / over-the-air update platform for Capacitor apps that uses Supabase (PostgreSQL) as its backend. Postgres Row Level Security policies are the primary authorization layer for multi-tenant Supabase apps: each row exposes a using/with check expression that decides whether the calling JWT may read or modify it. CWE-266 (Incorrect Privilege Assignment) here manifests because the RLS policy on the org_users membership table does not adequately restrict which role values an authenticated admin may assign, so the database itself permits an UPDATE that promotes the row's role column to super_admin instead of blocking it. The affected component is identified by CPE cpe:2.3:a:capgo:capgo:*:*:*:*:*:*:*:* across 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:N/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable Supabase API (AV:N), straightforward UPDATE once authenticated (AC:L), requires existing admin role (PR:H), no UI; full integrity/availability impact via super_admin takeover, no new confidentiality exposure beyond admin's existing reads.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Capgo before 12.128.2 contains a broken row level security policy in the org_users table that allows authenticated users to elevate privileges from admin to super_admin. Attackers can exploit the insufficient RLS enforcement to gain unauthorized super_admin access and compromise system security.
Executive ViewAI
Capgo versions before 12.128.2 contain a privilege escalation vulnerability (CVE-2026-56251) that allows authenticated administrators to escalate themselves to super_admin status. This undermines administrative access control segregation and creates risk of unauthorized platform modifications. No public exploit identified at time of analysis, though the flaw has been publicly disclosed.
Apply vendor patch.
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-38168
GHSA-phvp-mxhx-w4fp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB