CVE-2026-56239
published high CVSS 4.0 · 7.2Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Capgo | — | Capgo0 to < 12.128.2 (affected · semver) · 12.128.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Capgo | Capgo | 0 to < 12.128.2 (affected · semver)12.128.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-269 Improper Privilege Management
References
2- GitHub Security Advisory (GHSA-qq85-vjrq-m75g) https://github.com/Cap-go/capgo/security/advisories/GHSA-qq85-vjrq-m75g
- VulnCheck Advisory: Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage https://www.vulncheck.com/advisories/capgo-privilege-escalation-via-security-definer-function-apply-usage-overage
Provider assertions
2VulnCheck · cna
Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 930ab5d92230163abd8e41283593355785d94f5aaed0ab3e590406d3603e91d2
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record