Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain public anon API key
-
DeliveryIdentify target organization ID
-
ExploitPOST crafted payload to /rest/v1/rpc/record_build_time
-
ExecutionSECURITY DEFINER function inserts arbitrary build-time row
-
PersistTenant quota and billing counters poisoned
-
ImpactVictim 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
Apply vendor patch: upgrade to Supabase Capgo 12.128.2 or later.
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
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.
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
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
Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers read organization RBAC role bindin
EUVD-2026-38742
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB