Description
Capgo (Cap-go/capgo) before 12.128.2 exposes the Supabase PostgREST RPC function public.get_orgs_v6(userid uuid), which is SECURITY DEFINER and granted to the anon role, allowing unauthenticated access. Because the function accepts a caller-supplied user UUID without verifying it matches the authenticated user, an attacker using only the public publishable API key can query POST /rest/v1/rpc/get_orgs_v6 with an arbitrary user UUID to retrieve that user's organization membership, roles, subscription/trial metadata, and management_email (PII).
Published: 2026-07-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo before version 12.128.2 exposes the PostgREST RPC function public.get_orgs_v6, which is defined with SECURITY DEFINER privilege and granted to the anon role. The function accepts a caller-supplied UUID without verifying that it matches the authenticated user. This constitutes a CWE-200: Information Exposure weakness. An attacker who only has the public publishable API key can therefore issue a POST request to /rest/v1/rpc/get_orgs_v6 with any UUID, causing the server to return that user's organization membership, roles, subscription/trial metadata, and the management_email address. This leakage provides personally identifiable information that should be kept confidential.

Affected Systems

Any Capgo deployment running a version earlier than 12.128.2 is affected. The flaw resides in the server-side RPC layer and does not depend on client configuration. Public publishable API keys used by applications are sufficient for an attacker to trigger the disclosure.

Risk and Exploitability

The CVSS score of 8.7 places the issue in the high severity range, and because only a public API key is required, the practical barrier to an exploit is low. The EPSS score is reported as <1% (approximately 0.00255), indicating that while current exploitation probability is low, this does not preclude future attacks. The vulnerability is not listed in the CISA KEV catalog, but the ease of exploitation and the sensitive data exposed make it a significant risk that should be addressed promptly.

Generated by OpenCVE AI on July 29, 2026 at 14:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capgo to version 12.128.2 or later to remove the insecure RPC function.
  • Revoke or rotate unused publishable API keys and restrict remaining keys to the minimal operations required by the application.
  • Adjust the public.get_orgs_v6 procedure or modify role permissions so that the supplied UUID is validated against the authenticated user, or remove SECURITY DEFINER privilege from the anon role to prevent unauthenticated execution.

Generated by OpenCVE AI on July 29, 2026 at 14:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go

Wed, 08 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description Capgo (Cap-go/capgo) before 12.128.2 exposes the Supabase PostgREST RPC function public.get_orgs_v6(userid uuid), which is SECURITY DEFINER and granted to the anon role, allowing unauthenticated access. Because the function accepts a caller-supplied user UUID without verifying it matches the authenticated user, an attacker using only the public publishable API key can query POST /rest/v1/rpc/get_orgs_v6 with an arbitrary user UUID to retrieve that user's organization membership, roles, subscription/trial metadata, and management_email (PII).
Title Capgo - Unauthenticated Organization Data Disclosure via get_orgs_v6 RPC
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T15:50:59.980Z

Reserved: 2026-06-19T21:46:58.630Z

Link: CVE-2026-56226

cve-icon Vulnrichment

Updated: 2026-07-08T15:50:23.733Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:30:03Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor