PT-2026-51220 · Cap Go · Cap-Go

·

CVE-2026-56239

·

Published

2026-06-21

·

Updated

2026-06-21

CVSS v3.1

7.6

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Name of the Vulnerable Software and Affected Versions Capgo versions prior to 12.128.2
Description A privilege escalation issue exists in the public.apply usage overage function. This function is defined as SECURITY DEFINER, meaning it executes with the privileges of the user who created it, thereby bypassing Row Level Security (RLS). The function performs sensitive billing operations but fails to enforce internal authorization checks, such as validating auth.uid(), organization membership, or check min rights. If EXECUTE permissions are granted to authenticated or anonymous roles, an authenticated user can invoke the function via Supabase RPC to manipulate billing data for any organization, leading to fraudulent overage event insertion and unauthorized credit depletion.
Recommendations Update to version 12.128.2 or later. As a temporary workaround, restrict EXECUTE permissions on the public.apply usage overage function to prevent unauthorized access by authenticated or anonymous roles.

Exploit

Fix

LPE

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56239
GHSA-QQ85-VJRQ-M75G

Affected Products

Cap-Go