Description
Cap-go capgo before 12.128.2 contains an authorization bypass in several Supabase PostgREST RPC functions (get_app_metrics, get_global_metrics, get_total_metrics) that are granted to the anon role without enforcing org membership or permission checks. An unauthenticated attacker using only the public Supabase API key (sb_publishable_*) can query arbitrary org_id values to disclose cross-tenant usage telemetry (MAU, bandwidth, installs, gets), enumerate app IDs for a target org, and determine org existence via an oracle (valid org returns metrics, invalid returns []).
Published: 2026-06-20
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo prior to version 12.128.2 has an authorization bypass in several Supabase PostgREST RPC functions (get_app_metrics, get_global_metrics, get_total_metrics). These functions are granted to the anon Supabase role without enforcing organization membership or permission checks. An unauthenticated attacker who only has the public Supabase API key (sb_publishable_*) can query arbitrary org_id values and pull cross‑tenant usage telemetry such as monthly active users, bandwidth, installs, and API calls. The vulnerability enables the attacker to enumerate application identifiers within a target organization and to determine whether an organization exists by observing whether metrics are returned or an empty array is returned, effectively leaking internal business data and exposing competitive intelligence.

Affected Systems

Cap-go Capgo products running any version before 12.128.2 are affected. The vulnerability resides in the Supabase PostgREST RPC layer that interfaces with Capgo’s backend. No other Capgo versions or components are listed as impacted.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires only possession of the public Supabase API key, which is typically documented or embedded in client applications. The attack path is straightforward: a malicious actor sends RPC calls with arbitrary org_id parameters using the publishable key and retrieves sensitive telemetry. The lack of org membership checks and the public nature of the key make this a low‑barrier breach that can be performed from anywhere over the internet.

Generated by OpenCVE AI on June 20, 2026 at 17:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capgo to version 12.128.2 or newer, which removes the unauthenticated RPC exposure.
  • Reconfigure the Supabase anon role to revoke or restrict permission to the get_*_metrics RPC functions until the software is updated.
  • Rotate or revoke the public Supabase API key (sb_publishable_*) to prevent unauthenticated access while the patch is applied or workarounds are in place.

Generated by OpenCVE AI on June 20, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 20 Jun 2026 16:15:00 +0000

Type Values Removed Values Added
Description Cap-go capgo before 12.128.2 contains an authorization bypass in several Supabase PostgREST RPC functions (get_app_metrics, get_global_metrics, get_total_metrics) that are granted to the anon role without enforcing org membership or permission checks. An unauthenticated attacker using only the public Supabase API key (sb_publishable_*) can query arbitrary org_id values to disclose cross-tenant usage telemetry (MAU, bandwidth, installs, gets), enumerate app IDs for a target org, and determine org existence via an oracle (valid org returns metrics, invalid returns []).
Title Capgo - Unauthenticated Cross-Tenant Metrics Disclosure via RPC Functions
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-20T15:24:42.678Z

Reserved: 2026-06-19T21:50:06.625Z

Link: CVE-2026-56235

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-20T17:30:08Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor