Vulnerability

CVE-2026-56239

highCVSS 4.0 7.2Published 21 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Capgo before 12.128.2 contains a potential privilege escalation vulnerability in the public.apply_usage_overage SECURITY DEFINER function, which performs sensitive billing operations without enforcing internal authorization checks (no validation of auth.uid(), org membership, or check_min_rights). 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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /Cap-go/capgo/security/advisories/GHSA-qq85-vjrq-m75g
  • www.vulncheck.com /advisories/capgo-privilege-escalation-via-security-definer…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning