Description
Capgo before 12.128.2 contains an authorization bypass vulnerability in the public.upsert_version_meta SECURITY DEFINER function exposed via PostgREST RPC, allowing unauthenticated attackers to insert arbitrary rows into version_meta for any app_id. Attackers can exploit this by calling the RPC endpoint with a public anon key to poison storage metrics, causing persistent false data in dashboards and triggering incorrect alerts across victim applications.
Problem types
Product status
Any version before 12.128.2
12.128.2 (semver)
Credits
Judel777
References
github.com/.../capgo/security/advisories/GHSA-g4hx-x8gc-x6rw (GHSA Advisory GHSA-g4hx-x8gc-x6rw)
www.vulncheck.com/...s-poisoning-via-upsert-version-meta-rpc (VulnCheck Advisory: Capgo - Unauthenticated Cross-Tenant Metrics Poisoning via upsert_version_meta RPC)