Skip to main content

Capgo EUVDEUVD-2026-38096

| CVE-2026-56082 HIGH
Improper Access Control (CWE-284)
2026-06-19 VulnCheck GHSA-4q75-4379-394h
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Recover publishable sb_publishable_ anon key from client
  2. Delivery
    Enumerate target org_id via public schema
  3. Exploit
    Call PostgREST RPC record_build_time with victim org_id
  4. Execution
    SECURITY DEFINER function bypasses RLS on build_logs
  5. Persist
    Replay with same build_id to trigger ON CONFLICT UPDATE
  6. Impact
    Inflate victim's billable build minutes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only (1) network reachability to a Capgo instance's Supabase PostgREST endpoint and (2) possession of that instance's publishable Supabase anon key (sb_publishable_*), which is by design embedded in client apps and therefore not a secret. The vulnerable RPC public.record_build_time must be defined as SECURITY DEFINER with EXECUTE granted to anon and must use the ON CONFLICT (build_id, org_id) DO UPDATE pattern on public.build_logs - both true on Capgo < 12.128.2. No authentication, no user interaction, no privileged role, and no non-default configuration are required; the only meaningful limiter is that impact is confined to integrity of build_logs (billing) rather than full database compromise or data exfiltration.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VI:H and VC/VA:N (score 8.7) is internally consistent: the flaw is reachable over the network from an unauthenticated client using a key (sb_publishable_*) that is by design public, requires no user interaction, and produces a high integrity impact (tenant billing data tampering) without directly affecting confidentiality or availability of the database itself. EPSS and KEV data were not provided, and no public exploit was identified, so real-world exploitation probability cannot be quantified - but the precondition (possessing a publishable anon key) is essentially zero-effort for any user of a hosted Capgo instance, and the attack is fully automatable, so this should be treated as a real priority for any operator of Capgo < 12.128.2, particularly multi-tenant SaaS deployments where billing integrity matters. The 'Denial Of Service' and 'Authentication Bypass' tags accurately describe the financial-DoS outcome and the trust-boundary failure, respectively.

Exploit ScenarioDerived

An attacker obtains a target Capgo tenant's publishable Supabase anon key (trivially recoverable from the app's client-side bundle or any public API call) and issues a PostgREST RPC call to public.record_build_time with the victim's org_id and an attacker-chosen build_id and inflated build_time value. By replaying the call with the same (build_id, org_id) pair, the ON CONFLICT DO UPDATE clause lets the attacker repeatedly overwrite the victim's billing row, driving up the victim's billable build minutes or zeroing them out. No public PoC is referenced, but the VulnCheck advisory describes the call pattern in enough detail to reproduce trivially with curl.

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 19, 2026

Cross-tenant billing log tampering in Capgo (Cap-go/capgo) before 12.128.2 allows unauthenticated attackers holding only the public Supabase publishable anon key to insert or overwrite build_logs rows for arbitrary organizations via the SECURITY DEFINER PostgREST RPC public.record_build_time. Because the function is granted to the anon role and uses ON CONFLICT (build_id, org_id) DO UPDATE, attackers can inflate or alter another tenant's billable build time, producing financial-impact denial of service. No public exploit identified at time of analysis, though the vendor advisory (GHSA-42xj-3h9w-26h5) and a VulnCheck write-up describe the attack path in detail.

RemediationAI

Vendor-released patch: upgrade Capgo to 12.128.2 or later, per the GitHub Security Advisory GHSA-42xj-3h9w-26h5 (https://github.com/Cap-go/capgo/security/advisories/GHSA-42xj-3h9w-26h5), which corrects the access control on public.record_build_time. For self-hosted operators who cannot upgrade immediately, the most direct compensating control is to REVOKE EXECUTE ON FUNCTION public.record_build_time FROM anon (and PUBLIC) in PostgreSQL so only authenticated roles can call it - this breaks any legitimate anon-key call path that depends on the RPC, so test that build-time recording from clients still works via an authenticated path before rolling out. As an additional control, add an explicit caller-vs-org_id authorization check inside the function body (or drop SECURITY DEFINER in favor of SECURITY INVOKER plus RLS on build_logs), and consider rotating the publishable anon key only if you also restrict the surface it can reach - rotation alone does not help because publishable keys are designed to be shared. Review public.build_logs for anomalous rows with mismatched org_id/build_id pairs created before the upgrade.

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 / OTA delivery platform for Capacitor mobile apps that uses Supabase (PostgreSQL + PostgREST + Row Level Security) as its backend. The vulnerable surface is a PostgREST RPC function, public.record_build_time, defined as SECURITY DEFINER - meaning it executes with the privileges of its owner and bypasses RLS - and granted EXECUTE to the anon role, which any client bearing the publishable sb_publishable_* anon key can assume. Per CWE-284 (Improper Access Control), the function does not validate that the caller is authorized for the supplied org_id before writing to public.build_logs, and its ON CONFLICT (build_id, org_id) DO UPDATE clause turns insertion into an idempotent upsert, allowing repeated overwrites of an existing tenant's row by reusing the same build_id.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable PostgREST RPC callable with a public anon key (PR:N, AC:L, UI:N); impact is tampering with billing rows so I:H, with no confidentiality or availability loss.

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

Lifecycle Timeline

1
Patch available
Jun 19, 2026 - 23:17 EUVD

DescriptionCVE.org

Capgo (Cap-go/capgo) before 12.128.2 contains an improper access control vulnerability in the SECURITY DEFINER PostgREST RPC function public.record_build_time, which is granted to the anon role and callable with only the public Supabase publishable (sb_publishable_*) anon key. An unauthenticated attacker can insert rows into public.build_logs for arbitrary organizations and, because the function uses ON CONFLICT (build_id, org_id) DO UPDATE, can overwrite existing usage/billing records by reusing the same build_id for a target org. This enables cross-tenant tampering of billing build logs and financial-impact denial of service by inflating billable build time.

Executive ViewAI

Why It Matters

Capgo versions before 12.128.2 contain a billing manipulation vulnerability (CVE-2026-56082, CVSS 8.7) allowing unauthenticated attackers to artificially inflate build charges for other organizations, creating direct financial impact and potential revenue loss. Any organization using affected Capgo versions faces risk of fraudulent billing modifications affecting cost accountability.

Business Impact: High
Compensating Controls

Apply vendor patch: Upgrade Capgo to version 12.128.2 or later. Interim: Restrict access to billing log infrastructure and implement audit logging and alerting on unexpected modifications to build timing records.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Social Media
2
Sightings
Data Quality
7 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 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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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