Skip to main content

Supabase Capgo EUVDEUVD-2026-38742

| CVE-2026-56245 HIGH
Improper Privilege Management (CWE-269)
2026-06-24 VulnCheck
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain public anon API key
  2. Delivery
    Identify target organization ID
  3. Exploit
    POST crafted payload to /rest/v1/rpc/record_build_time
  4. Execution
    SECURITY DEFINER function inserts arbitrary build-time row
  5. Persist
    Tenant quota and billing counters poisoned
  6. Impact
    Victim exhausts quota or incurs inflated charges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
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

Exploitation requires only network reachability to the Capgo Supabase PostgREST endpoint (/rest/v1/rpc/record_build_time) and possession of the project's public anon API key, which is by design embedded in client apps and therefore not a meaningful secret. The vulnerable Capgo version must be prior to 12.128.2 with the SECURITY DEFINER record_build_time RPC granted to the anon role (the default configuration). No user interaction, no admin or tenant credentials, and no special platform are required; the only practical limiter is knowing or guessing target organization identifiers, which are typically enumerable.

Impact

The CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L confirms a network-reachable, low-complexity, unauthenticated attack with high integrity impact on billing/quota data and limited availability impact through resource exhaustion - a realistic alignment with the description. No EPSS score, KEV listing, or POC was provided, so urgency is driven by exploit triviality rather than confirmed in-the-wild activity; absence of KEV status does not lower the underlying risk because the attack requires only a publicly distributed anon key and a single HTTP POST. Confidentiality is correctly rated N since the function writes rather than reads, but defenders should note the indirect financial and operational impact on SaaS tenants, which raw CVSS does not capture.

Exploit ScenarioDerived

An attacker harvests the publicly embedded Supabase anon key from any Capgo-using mobile app or web client and issues repeated POST /rest/v1/rpc/record_build_time requests carrying inflated build durations against a competitor's organization ID. This poisons that tenant's quota counters until builds are rejected for over-quota and inflates the victim's invoice, while the attacker pays nothing and remains unauthenticated.

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

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

Alert me

AnalysisAIv1 – Jun 24, 2026

Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing and quota records by invoking the SECURITY DEFINER record_build_time RPC with only a public anon API key. The flaw stems from missing authorization inside a privilege-elevated PostgREST function, enabling arbitrary build-time inserts against any organization. No public exploit identified at time of analysis, but the trivial network-reachable invocation pattern makes weaponization straightforward.

RemediationAI

Vendor-released patch: upgrade Capgo to 12.128.2 or later as published in GHSA-42f8-v563-5763 (https://github.com/Cap-go/capgo/security/advisories/GHSA-42f8-v563-5763), which adds authorization enforcement inside the record_build_time function. If immediate upgrade is not possible, revoke EXECUTE on public.record_build_time from the anon and authenticated roles via PostgreSQL GRANT/REVOKE, accepting that legitimate build-time accounting from clients will stop until a fixed version is deployed; alternatively, front the PostgREST endpoint with a reverse proxy rule that blocks POST /rest/v1/rpc/record_build_time from unauthenticated callers, which has the same functional side effect. Operators should also audit the build_time table for anomalous inserts and reconcile billing/quota counters issued since the vulnerable function was deployed.

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 Supabase-based live-update and CI/CD service for Capacitor mobile apps that exposes PostgreSQL functions through PostgREST at /rest/v1/rpc/. The vulnerable record_build_time function is declared SECURITY DEFINER, meaning it executes with the privileges of the owning role rather than the caller, so PostgreSQL Row-Level Security is bypassed unless the function body itself enforces tenant checks. CWE-269 (Improper Privilege Management) applies because the function trusts caller-supplied organization identifiers without verifying that the JWT role or org claim of the requester matches the target record, allowing the anon role to act as if it were any tenant.

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

Unauthenticated network call to a public RPC (AV:N/AC:L/PR:N/UI:N); writes poison billing data (I:H) and enables quota exhaustion (A:L); no data disclosure (C:N).

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

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 13:01 EUVD

DescriptionCVE.org

Supabase Capgo before 12.128.2 contains an authorization bypass vulnerability in the SECURITY DEFINER record_build_time RPC function that allows unauthenticated attackers to insert arbitrary build-time records. Attackers can exploit this by calling POST /rest/v1/rpc/record_build_time with a public API key to poison billing and quota data for any organization, enabling resource exhaustion and cross-tenant billing manipulation.

Executive ViewAI

Why It Matters

CVE-2026-56245 affects Supabase Capgo versions before 12.128.2, allowing unauthenticated remote attackers to corrupt billing and quota records across multiple customer organizations. This cross-tenant data poisoning vulnerability creates direct financial and operational risks by enabling attackers to manipulate billing data using public API credentials, affecting any organization dependent on Supabase's billing integrity.

Business Impact: Severe
Compensating Controls

Apply vendor patch: upgrade to Supabase Capgo 12.128.2 or later.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche Capacitor live-update SaaS, limited self-hosted footprint
Data Quality
6 sources
Confidence: High

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.3%
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
Very 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

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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

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

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