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 []).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cap-go | capgo | < 12.128.2 | 12.128.2 |
References
- GitHub Security Advisory (GHSA-gfpq-vphf-6gcm) vendor-advisory
- VulnCheck Advisory: Capgo - Unauthenticated Cross-Tenant Metrics Disclosure via RPC Functions third-party-advisory