CVE-2026-56303

HIGH

Capgo - Unauthenticated API Key Metadata Disclosure via SECURITY DEFINER RPC Function

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-2xjq-h43m-592f)
https://github.com/Cap-go/capgo/security/advisories/GHSA-2xjq-h43m-592f
Third Party Advisory third-party-advisory
VulnCheck Advisory: Capgo - Unauthenticated API Key Metadata Disclosure via SECURITY DEFINER RPC Function
https://www.vulncheck.com/advisories/capgo-unauthenticated-api-key-metadata-disclosure-via-security-definer-rpc-function

Scores

CVSS v3 7.5
EPSS 0.0030
EPSS Percentile 22.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-200
Status published
Products (2)
Capgo/Capgo < 12.128.2
Capgo/Capgo 12.128.2
Published Jul 11, 2026
Tracked Since Jul 11, 2026