CVE-2026-56226
JSON

8.7high

Capgo - Unauthenticated Organization Data Disclosure via get_orgs_v6 RPC

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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).

Affected

Product or packageVersionsReported by
Cap-go capgobefore 12.128.2
Not affected: 12.128.2
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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).

NVD (es)

Capgo (Cap-go/capgo) antes de 12.128.2 expone la función RPC de Supabase PostgREST public.get_orgs_v6(userid uuid), la cual es SECURITY DEFINER y está concedida al rol ’anon’, permitiendo acceso no autenticado. Debido a que la función acepta un UUID de usuario proporcionado por el llamador sin verificar que coincida con el usuario autenticado, un atacante utilizando únicamente la clave API pública publicable puede consultar POST /rest/v1/rpc/get_orgs_v6 con un UUID de usuario arbitrario para recuperar la membresía de organización de ese usuario, roles, metadatos de suscripción/prueba, y management_email (PII).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56226 changed 2026-07-08CVE Terms of Use
NVDCVE-2026-56226 changed 2026-10-25Public domain