# CVE-2026-56303: Capgo - Unauthenticated API Key Metadata Disclosure via SECURITY DEFINER RPC Function

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-11T13:00:57.777Z
- Modified: 2026-07-13T17:17:38.947Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Capgo Capgo: before 12.128.2 (not affected: 12.128.2)

## Every score

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

## References

- <https://github.com/Cap-go/capgo/security/advisories/GHSA-2xjq-h43m-592f> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/capgo-unauthenticated-api-key-metadata-disclosure-via-security-definer-rpc-function> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-56303](https://www.cve.org/CVERecord?id=CVE-2026-56303), CVE Terms of Use, modified 2026-07-13
- NVD: [CVE-2026-56303](https://nvd.nist.gov/vuln/detail/CVE-2026-56303), Public domain, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-56303 · Whole record: https://cve.day/CVE-2026-56303.json · Rebuilt by cve.day 2026-11-25T22:59:27.732Z
