CVE-2026-56082
Deferred Deferred - Pending Action

Improper Access Control in Capgo PostgREST RPC Function

Vulnerability report for CVE-2026-56082, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-19

Last updated on: 2026-06-22

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-19
Last Modified
2026-06-22
Generated
2026-07-10
AI Q&A
2026-06-20
EPSS Evaluated
2026-07-08
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
capgo capgo to 12.128.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Capgo versions before 12.128.2 and involves improper access control in a SECURITY DEFINER PostgREST RPC function named public.record_build_time.

The function is granted to the anon role and can be called using only the public Supabase publishable anon key, meaning no authentication is required.

An unauthenticated attacker can insert rows into the public.build_logs table for any organization and overwrite existing usage or billing records by reusing the same build_id for a target organization.

This allows cross-tenant tampering of billing build logs and can cause denial of service by inflating billable build time.

Impact Analysis

The vulnerability can lead to unauthorized modification of billing and usage records across different tenants or organizations.

An attacker can overwrite existing billing data, potentially causing financial damage by inflating billable build time.

This can result in denial of service related to financial operations and loss of trust in the integrity of billing information.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56082. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart