CVE-2026-56239: Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage
Capgo before 12.128.2 contains a potential privilege escalation vulnerability in the public.applyusageoverage SECURITY DEFINER function, which performs sensitive billing operations without enforcing internal authorization checks (no validation of auth.uid(), org membership, or checkminrights). Because the function runs with the owner's privileges, it bypasses Row Level Security. If EXECUTE permission is available to the authenticated or anon roles (explicitly or via default privileges), an authenticated user could invoke it via Supabase RPC to manipulate billing data for arbitrary organizations, including unauthorized credit depletion and fraudulent overage event insertion.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-56239?
The severity of CVE-2026-56239 is high with a score of 7.6.
How do I fix CVE-2026-56239?
To fix CVE-2026-56239, update Capgo to version 12.128.2 or later.
What type of vulnerability is CVE-2026-56239?
CVE-2026-56239 is a privilege escalation vulnerability.
What components of Capgo are affected by CVE-2026-56239?
CVE-2026-56239 affects the public.apply_usage_overage SECURITY DEFINER function.
What are the potential impacts of CVE-2026-56239?
The potential impacts of CVE-2026-56239 include unauthorized access to sensitive billing operations.