Home

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 Reserved 2026-06-19 | Published 2026-07-08 | Updated 2026-07-08 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

Exposure of Sensitive Information to an Unauthorized Actor

Product status

Default status
unaffected

Any version before 12.128.2
affected

12.128.2 (semver)
unaffected

Credits

Judel777 reporter

References

github.com/.../capgo/security/advisories/GHSA-m7mm-35v3-82f4 exploit

github.com/.../capgo/security/advisories/GHSA-m7mm-35v3-82f4 (GitHub Security Advisory (GHSA-m7mm-35v3-82f4)) vendor-advisory

www.vulncheck.com/...ion-data-disclosure-via-get-orgs-v6-rpc (VulnCheck Advisory: Capgo - Unauthenticated Organization Data Disclosure via get_orgs_v6 RPC) third-party-advisory

cve.org (CVE-2026-56226)

nvd.nist.gov (CVE-2026-56226)

Download JSON