Vulnerability details
CVE-2026-56239
Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.2High | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N |
| 7.6High | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| Capgo | Capgo | v < 12.128.2 | CVEProject cvelistV5 (CNA) |
References and advisories
2Details
- Published
- 2026-06-21
- Last updated
- 2026-11-08
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-269Improper Privilege Management