Home

Description

Capgo before 12.128.2 contains an information disclosure vulnerability in the find_apikey_by_value PostgreSQL function marked SECURITY DEFINER and executable by the anon role. Unauthenticated attackers can call this function via the /rest/v1/rpc/find_apikey_by_value endpoint to retrieve sensitive API key metadata including user_id, mode, org scoping, and expiration details when supplied a valid key value.

PUBLISHED Reserved 2026-06-20 | Published 2026-07-11 | Updated 2026-07-13 | 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-2xjq-h43m-592f exploit

github.com/.../capgo/security/advisories/GHSA-2xjq-h43m-592f (GitHub Security Advisory (GHSA-2xjq-h43m-592f)) vendor-advisory

www.vulncheck.com/...osure-via-security-definer-rpc-function (VulnCheck Advisory: Capgo - Unauthenticated API Key Metadata Disclosure via SECURITY DEFINER RPC Function) third-party-advisory

cve.org (CVE-2026-56303)

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

Download JSON