Home

Description

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.

PUBLISHED Reserved 2026-06-18 | Published 2026-06-19 | Updated 2026-06-20 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem types

Improper Access Control

Product status

Default status
unaffected

Any version before 12.128.2
affected

12.128.2 (semver)
unaffected

Credits

Judel777 reporter

References

github.com/.../capgo/security/advisories/GHSA-42xj-3h9w-26h5 (GHSA Advisory GHSA-42xj-3h9w-26h5) vendor-advisory

www.vulncheck.com/...pering-via-public-record-build-time-rpc (VulnCheck Advisory: Supabase - Unauthenticated Cross-Tenant Billing Log Tampering via public.record_build_time RPC) third-party-advisory

cve.org (CVE-2026-56082)

nvd.nist.gov (CVE-2026-56082)

Download JSON