CVE-2026-56082
Capgo (Cap-go/capgo) before 12.128.2 contains an improper access control vulnerability in the SECURITY DEFINER PostgREST RPC function public.record_build_time, which is granted to the anon role and callable with only the public Supabase publishable (sb_publishable_*) anon key. An unauthenticated attacker can insert rows into public.build_logs for arbitrary organizations and, because the function uses ON CONFLICT (build_id, org_id) DO UPDATE, can overwrite existing usage/billing records by reusing the same build_id for a target org. This enables cross-tenant tampering of billing build logs and financial-impact denial of service by inflating billable build time.
- Score
- CVSS 4.0 8.7 High
- Status
- Deferred - disclosure@vulncheck.com
- Published
- 2026-06-19
- Last modified
- 2026-10-25
- Weaknesses
- CWE-284
Affected products
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-42xj-3h9w-26h5
- https://www.vulncheck.com/advisories/supabase-unauthenticated-cross-tenant-billing-log-tampering-via-public-record-buil…