Skip to main content

Capgo CVE-2026-56213

| EUVDEUVD-2026-38099 MEDIUM
Missing Authorization (CWE-862)
2026-06-20 VulnCheck GHSA-5495-g4j9-gjwq
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Extract public anon key from Capgo client app
  2. Delivery
    Identify or enumerate victim tenant app_id
  3. Exploit
    POST crafted payload to /rest/v1/rpc/upsert_version_meta
  4. Install
    SECURITY DEFINER function bypasses ownership check
  5. C2
    Arbitrary version_meta rows inserted for victim app_id
  6. Execute
    Victim dashboard displays persistent false storage metrics
  7. Impact
    False 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 public.upsert_version_meta function must be exposed as a PostgREST RPC endpoint - the default configuration in Capgo's Supabase backend. The attacker requires only the public anon key, which is intentionally distributed in Capgo client applications and is not a protected credential. No authentication, no elevated privileges, no specific user interaction, and no non-default server configuration are required. Exploitation is strictly bounded to integrity writes against the version_meta table; no confidentiality breach, remote code execution, or availability disruption is possible through this vector alone. Deployments on Capgo 12.128.2 or later, or those that have revoked anon EXECUTE permission on the function, are not exploitable.

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 /rest/v1/rpc/upsert_version_meta with a fabricated payload specifying a victim tenant's app_id and inflated storage figures. The SECURITY DEFINER function accepts and persists the forged rows without ownership validation, causing the victim's Capgo dashboard to permanently display corrupted storage metrics and potentially triggering false quota alerts or billing anomalies.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 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

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.8 MEDIUM

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.

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

Lifecycle Timeline

1
Patch available
Jun 20, 2026 - 02:01 EUVD

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

EPSS Score
0.2%
Top 86% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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-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-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-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-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-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-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

CVE-2026-56219 HIGH
8.7 Jun 30

Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers read organization RBAC role bindin

CVE-2026-56230 HIGH
8.7 Jun 30

Cross-tenant authorization bypass in Capgo before 12.128.2 lets authenticated users impersonate another tenant's limited

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