CVE-2026-56239: Capgo - Privilege Escalation via SECURITY DEFINER Function apply_usage_overage

Published Jun 21, 2026
·
Updated

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

1 affected component
Capgo Capgo<12.128.2

Event History

Jun 21, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56239?

The severity of CVE-2026-56239 is high with a score of 7.6.

2

How do I fix CVE-2026-56239?

To fix CVE-2026-56239, update Capgo to version 12.128.2 or later.

3

What type of vulnerability is CVE-2026-56239?

CVE-2026-56239 is a privilege escalation vulnerability.

4

What components of Capgo are affected by CVE-2026-56239?

CVE-2026-56239 affects the public.apply_usage_overage SECURITY DEFINER function.

5

What are the potential impacts of CVE-2026-56239?

The potential impacts of CVE-2026-56239 include unauthorized access to sensitive billing operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203