CVE-2026-56303 Capgo - Unauthenticated API Key Metadata Disclosure via SECURITY DEFINER RPC Function
Unauthenticated attackers can retrieve sensitive API key metadata via a vulnerable RPC function, exposing user and organization details.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56303?
CVE-2026-56303 is a high-severity vulnerability in Capgo, published on 11 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2026-56303?
How do I fix CVE-2026-56303?
No fix has been published for CVE-2026-56303 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-56303 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56303 exists.
Sources
Also known as GHSA-25wv-52pf-rghh, GHSA-2xjq-h43m-592f.