---
id: CVE-2026-56082
title: >-
  Capgo - Unauthenticated Cross-Tenant Billing Log Tampering via
  public.record_build_time RPC
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-284
vendor: Cap-go
product: capgo
affected:
  - capgo < 12.128.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-06-22T14:02:30.431148Z'
exploitAvailable: true
published: '2026-06-19'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:05:29.976Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56082'
references:
  - url: 'https://github.com/Cap-go/capgo/security/advisories/GHSA-42xj-3h9w-26h5'
    label: GitHub Security Advisory (GHSA-42xj-3h9w-26h5)
  - url: >-
      https://www.vulncheck.com/advisories/supabase-unauthenticated-cross-tenant-billing-log-tampering-via-public-record-build-time-rpc
    label: >-
      VulnCheck Advisory: Supabase - Unauthenticated Cross-Tenant Billing Log
      Tampering via public.record_build_time RPC
tags:
  - cve.org
  - exploit-available
epss: 0.00372
epssPercentile: 0.3133
ingestedAt: '2026-11-08T14:51:22.370Z'
---

## Overview

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.

## Affected

- `capgo < 12.128.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
