MEDIUM 5.3

CVE-2026-56311: Capgo Authorization Bypass Exposes Organization Billing Data

Capgo before version 12.128.2 has a security flaw that allows anyone on the internet to view billing and plan information about any organization, even without logging in. An attacker only needs to know an organization's ID and can call a specific function to retrieve sensitive details like monthly active user limits, bandwidth allowances, storage quotas, and build time restrictions. This is a data disclosure vulnerability that exposes business-critical information.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses (CWE)
CWE-285
Affected products
0 configuration(s)
Published / Modified
2026-06-22 / 2026-06-23

NVD description (verbatim)

Capgo before 12.128.2 contains an authorization bypass vulnerability in the public.get_current_plan_max_org RPC function that allows unauthenticated attackers to retrieve arbitrary organization plan limits. Attackers can call the RPC endpoint with any organization UUID using only the public Supabase key to disclose billing information including MAU, bandwidth, storage, and build time limits for any organization.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-56311 is an authorization bypass in Capgo's public.get_current_plan_max_org RPC function. The vulnerability stems from improper access controls on an administrative endpoint that should require authentication. The function accepts an organization UUID parameter and returns plan limits without validating that the caller has legitimate access to that organization. Attackers can invoke the endpoint using only the public Supabase API key, which is intentionally distributable as part of the application's client-side configuration. The affected versions prior to 12.128.2 fail to implement row-level security (RLS) policies or equivalent authorization checks, making all organizations' billing metadata queryable by unauthenticated clients.

Business impact

This vulnerability enables competitive intelligence gathering and informed targeting of rival organizations. Threat actors can systematically enumerate organization UUIDs and map their resource allocation strategies, growth patterns, and infrastructure capacity. For organizations using Capgo, unauthorized disclosure of plan limits could reveal operational scale, anticipated growth, and budget constraints to external parties. This information can inform social engineering campaigns, pricing negotiations, or strategic business decisions made by competitors. The exposure is particularly sensitive for early-stage companies or those operating in competitive markets where usage metrics indicate market traction.

Affected systems

Capgo versions prior to 12.128.2 are affected. The vulnerability impacts all organizations whose metadata was queryable during the vulnerable period. There are no platform restrictions—any Internet-connected system with the public Supabase key for a Capgo-powered application can exploit this vulnerability. Hosted instances of Capgo and self-hosted deployments are equally affected if running vulnerable versions.

Exploitability

Exploitability is high from a technical standpoint. The attack requires no authentication, no user interaction, and no special network access—only standard HTTPS connectivity and knowledge of a target organization's UUID. An attacker can write a simple script to enumerate UUIDs and extract plan data in bulk. However, the practical impact per-organization is limited to information disclosure rather than system compromise, access, or modification. The CVSS score of 5.3 (Medium) reflects this: low attack complexity and no authentication requirements offset by confidentiality impact only.

Remediation

Upgrade Capgo to version 12.128.2 or later immediately. The patch adds proper authorization checks to the get_current_plan_max_org function, ensuring that only authenticated users with legitimate access to an organization can view its plan details. Verify the upgrade is applied across all instances—both SaaS and self-hosted deployments. No configuration changes are required post-upgrade; the fix is automatic.

Patch guidance

Apply Capgo version 12.128.2 or later. Consult the official Capgo release notes and vendor advisory to confirm the exact patch version, installation steps, and any compatibility notes for your deployment architecture. If running self-hosted Capgo, rebuild and redeploy using the patched version. SaaS customers should check with their Capgo provider to confirm patch status; most managed services auto-update, but verification is prudent.

Detection guidance

Monitor RPC logs for unexpected calls to the public.get_current_plan_max_org endpoint, particularly from non-authenticated sessions or IPs outside your organization. High-volume or systematic calls to this function with varying organization UUIDs may indicate reconnaissance. Review Supabase audit logs for the relevant time window to identify what organization data was accessed and from which IP addresses. If you cannot determine your Capgo version, check your deployment manifest or contact your provider. Correlate any detected exploitation with downstream business intelligence gathering or social engineering incidents.

Why prioritize this

Medium severity warrants swift but not emergency action. The lack of KEV status and absence from active exploitation tracking suggests no current widespread weaponization, reducing immediate risk. However, the ease of exploitation and the sensitivity of billing metadata justify timely patching within your standard maintenance windows. Prioritize this if your organization competes in sensitive markets or if you operate multiple Capgo instances.

Risk score, explained

The CVSS 5.3 (Medium) score reflects an unauthenticated, low-complexity attack with network access and confidentiality impact, but no integrity or availability impact. The vulnerability does not enable further system compromise directly; it is an information disclosure vector. The score is appropriate for a data leak without active exploit availability. Internal risk assessment should factor in your competitive sensitivity and the volume of organizations you host or operate.

Frequently asked questions

Can this vulnerability be exploited without the public Supabase key?

No, the attacker needs the public Supabase API key that is embedded in the client application or configuration. However, this key is intentionally public—it is meant to be distributed. The real flaw is the lack of authorization logic in the RPC function, which should verify that the caller owns or has access to the organization UUID they are querying, regardless of whether they have the public key.

Does the vulnerability allow modification of plan limits or organization data?

No. This is a read-only disclosure vulnerability. Attackers can only retrieve plan information; they cannot modify billing data, upgrade plans, or alter organization settings. The CVSS score reflects this limitation.

Do I need to rotate the public Supabase key after patching?

No. Rotating the public key is neither necessary nor effective against this vulnerability, since the key is meant to be public. The patch fixes the authorization logic in the RPC function itself. After upgrading to 12.128.2, the endpoint will reject unauthorized queries regardless of the key.

How long was this vulnerability exposed?

The vulnerability was published on 2026-06-22, and it is unclear when it was first introduced. If your Capgo deployment has not yet been updated, assume your organization's plan data was exposed for the entire time you were running a vulnerable version. Review your Supabase audit logs to assess potential access.

This analysis is based on published vulnerability data as of the date of generation. CVSS scores and severity ratings are provided by the National Vulnerability Database and reflect standardized assessment criteria, not real-world impact for your environment. Always verify patch availability and compatibility with your specific Capgo version and deployment model before applying updates. No exploit code or weaponized proof-of-concept is provided or endorsed. For official remediation guidance, consult Capgo's vendor advisory and your deployment provider's security bulletins. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).