CVE-2026-56303 Details
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.
An information disclosure vulnerability has been identified in Capgo versions prior to 12.128.2. The issue resides in the PostgreSQL function 'find_apikey_by_value', which is marked as 'SECURITY DEFINER' and can be executed by the 'anon' role. This vulnerability allows unauthenticated attackers to call the function through the '/rest/v1/rpc/find_apikey_by_value' endpoint, retrieving sensitive metadata associated with API keys, such as user ID, access mode, organizational scoping, and expiration details, provided a valid key value is supplied.
Users are advised to update Capgo to version 12.128.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 11, 2026CISA-ADP
Assessed Jul 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Cap-go/capgo/security/advisories/GHSA-2xjq-h43m-592f | CISA-ADP | AdvisoryExploitTechnical DescriptionVendor |
| https://github.com/Cap-go/capgo/security/advisories/GHSA-2xjq-h43m-592f | [email protected] | AdvisoryExploitTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/capgo-unauthenticated-api-key-metadata-disclosure-via-security-definer-rpc-function | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Capgo | < 12.128.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 13, 2026 | CVE Modified | CISA-ADP |
| Jul 11, 2026 | New CVE Received | [email protected] |
Volerion