Capgo before 12.128.2 contains an information disclosure vulnerability in the find_apikey_by_value PostgreSQL function marked SECURITY DEFINER and… (CVE-2026-56303)
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.
AI Analysis
Technical Summary
The vulnerability in Capgo prior to version 12.128.2 involves the find_apikey_by_value PostgreSQL function, which is SECURITY DEFINER and accessible by the anon role. This misconfiguration permits unauthenticated attackers to invoke the function through a REST endpoint, disclosing sensitive API key metadata including user identifiers, operational mode, organizational scope, and expiration information. This constitutes an information disclosure issue categorized under CWE-200.
Potential Impact
An unauthenticated attacker can retrieve sensitive API key metadata by invoking the vulnerable function with a valid key value. This exposure includes user IDs, mode, organization scoping, and expiration details, potentially aiding further attacks or unauthorized access. There is no indication of privilege escalation or direct system compromise from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor communications for updates. Until a fix is available, restrict access to the vulnerable endpoint and review database function permissions to limit anon role execution where possible.
Capgo before 12.128.2 contains an information disclosure vulnerability in the find_apikey_by_value PostgreSQL function marked SECURITY DEFINER and… (CVE-2026-56303)
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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Capgo prior to version 12.128.2 involves the find_apikey_by_value PostgreSQL function, which is SECURITY DEFINER and accessible by the anon role. This misconfiguration permits unauthenticated attackers to invoke the function through a REST endpoint, disclosing sensitive API key metadata including user identifiers, operational mode, organizational scope, and expiration information. This constitutes an information disclosure issue categorized under CWE-200.
Potential Impact
An unauthenticated attacker can retrieve sensitive API key metadata by invoking the vulnerable function with a valid key value. This exposure includes user IDs, mode, organization scoping, and expiration details, potentially aiding further attacks or unauthorized access. There is no indication of privilege escalation or direct system compromise from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor communications for updates. Until a fix is available, restrict access to the vulnerable endpoint and review database function permissions to limit anon role execution where possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-25wv-52pf-rghh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56303"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a535c0568715ace43ad72e1
Added to database: 07/12/2026, 09:19:01 UTC
Last enriched: 07/12/2026, 09:23:57 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.