Skip to main content

Capgo CVE-2026-56251

| EUVDEUVD-2026-38168 HIGH
Incorrect Privilege Assignment (CWE-266)
2026-06-21 VulnCheck GHSA-phvp-mxhx-w4fp
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials in target org
  2. Delivery
    Authenticate to Capgo Supabase API
  3. Exploit
    Send UPDATE on own org_users row setting role=super_admin
  4. Execution
    Broken RLS policy accepts the change
  5. Persist
    Operate with super_admin across all tenants
  6. Impact
    Push 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.

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

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

Alert me

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

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

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

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/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
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 21, 2026 - 15:31 EUVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.2%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Capgo

View all
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-56223 CRITICAL
9.3 Jun 24

Cross-domain SSO account takeover in Capgo before 12.128.2 allows an attacker with enterprise org admin access and a mal

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-56237 CRITICAL
9.3 Jun 24

Authentication bypass in Capgo before 12.128.2 lets remote unauthenticated attackers mint arbitrary API keys by tamperin

CVE-2026-56324 HIGH
8.8 Jun 22

Rate-limit bypass in Capgo versions prior to 12.128.2 lets remote unauthenticated attackers flood the channel_self endpo

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-56233 HIGH
8.7 Jun 30

Server-side privilege escalation in Capgo before 12.128.2 lets authenticated users holding build permissions abuse a pat

CVE-2026-56323 HIGH
8.7 Jun 22

Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers query the /functions/v1/channel_se

CVE-2026-56238 HIGH
8.7 Jul 12

Unauthenticated information disclosure in Capgo before 12.128.2 exposes confidential business metrics through the Supaba

CVE-2026-56248 HIGH
8.7 Jun 23

Unauthenticated denial of service in Cap-go capgo (capgo-backend) before 12.128.12 allows remote attackers to exhaust Po

CVE-2026-56305 HIGH
8.7 Jul 10

Account takeover in Capgo before 12.128.2 stems from a password-change endpoint that omits current-password validation (

CVE-2026-56300 HIGH
8.7 Jun 30

Information disclosure in Capgo (Capacitor live-update/OTA platform) before 12.128.2 lets unauthenticated callers abuse

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