CVE-2026-56242: Capgo Unauthenticated API Key Validity Oracle and User Identity Disclosure
Capgo versions before 12.128.2 expose an unauthenticated API endpoint that allows attackers to verify whether an API key is valid and determine which user owns it. By testing API keys against this endpoint, an attacker can build a map of valid keys to user accounts. This becomes dangerous when combined with other exposed endpoints in Capgo that reveal organization membership and contact information, enabling attackers to harvest sensitive identity and organizational data without any authentication.
Source data · NVD / CISA · public domain
- 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
- Weaknesses (CWE)
- CWE-200
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-21 / 2026-06-22
NVD description (verbatim)
Capgo before 12.128.2 contains an unauthenticated security definer RPC function get_identity_apikey_only that returns the owning user_id for supplied API keys, creating an API key validity oracle and user identity disclosure primitive. Attackers can call this endpoint with valid or invalid API keys to confirm key validity and map keys to user identifiers, then chain results into other exposed RPCs like get_orgs_v6 to retrieve organization membership and management email PII.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from an unauthenticated security definer RPC function named get_identity_apikey_only that accepts API key input and returns the owning user_id. This function serves as an oracle for API key validity and user identity disclosure. The attack chain involves: (1) calling get_identity_apikey_only with candidate API keys to confirm validity and map keys to user_id values, then (2) chaining results into other exposed RPCs such as get_orgs_v6 to extract organization membership and administrative email addresses. The issue is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and requires no privileges or user interaction to exploit.
Business impact
Organizations relying on Capgo are exposed to user identity enumeration and organizational intelligence gathering attacks. Attackers can systematically discover valid API keys, link them to specific user accounts, and pivot to retrieve PII including management email addresses and organization structure. For Capgo customers, this creates a pathway for targeted phishing, account takeover preparation, and supply-chain reconnaissance. The exposure of management contacts and organizational relationships may also facilitate social engineering and pretexting attacks.
Affected systems
Capgo versions prior to 12.128.2 are affected. The vulnerability resides in unauthenticated API endpoints exposed at the platform level, meaning any network-accessible Capgo instance without the patch is vulnerable. Users should verify their Capgo deployment version and confirm whether the vulnerable RPC functions are exposed in their deployment model.
Exploitability
This vulnerability is straightforward to exploit. It requires only network access to the affected Capgo endpoints—no authentication, no special privileges, and no user interaction. An attacker can automate API calls to enumerate valid keys and harvest user identities and organizational data. The attack surface is broad because the functions are unauthenticated, and the information disclosed (user IDs, organization membership, management emails) is operationally valuable for follow-on attacks. The low complexity and high information payoff make this a priority for exploitation.
Remediation
Upgrade Capgo to version 12.128.2 or later. This patch addresses the authentication bypass and likely restricts access to get_identity_apikey_only and related endpoints. As an immediate mitigation while planning upgrades, organizations should review network access controls to limit exposure of Capgo API endpoints to trusted networks only, and monitor logs for suspicious enumeration patterns (repeated API calls with varying key inputs).
Patch guidance
Apply Capgo update 12.128.2 or newer as soon as feasible. Verify the patch through your package manager and Capgo's official release notes. Test the update in a non-production environment to ensure compatibility with your deployment before rolling out broadly. After patching, validate that the get_identity_apikey_only endpoint is no longer accessible without authentication or is removed entirely.
Detection guidance
Monitor for patterns of repeated API calls to get_identity_apikey_only or get_orgs_v6 endpoints, especially from external sources or with varying API key inputs. Elevated call volumes to these endpoints from a single source IP may indicate enumeration activity. Log and alert on any unauthenticated access to these RPC functions. Additionally, review API key audit logs to identify keys that may have been tested or exposed through this oracle.
Why prioritize this
This vulnerability merits immediate attention because it enables unauthenticated, low-friction reconnaissance that directly exposes user identities and organizational structure. The attack requires no privileges, no user interaction, and can be fully automated. When chained with other exposed endpoints, it becomes a stepping stone for more sophisticated attacks. Organizations running Capgo should treat patching as urgent, particularly if their deployment is internet-facing.
Risk score, explained
The CVSS 3.1 score of 7.5 (HIGH) reflects high confidentiality impact (user IDs, emails, organization data disclosed), low complexity to exploit (unauthenticated, network-accessible), and no requirement for user interaction. The vulnerability does not enable data modification or availability impact, hence the absence of integrity or availability components in the vector. The score appropriately captures the risk of systematic identity and organizational intelligence gathering.
Frequently asked questions
Can this vulnerability be exploited without knowing any valid API keys?
Yes. An attacker can supply arbitrary or candidate API keys and use the responses from get_identity_apikey_only to determine validity. The function effectively acts as an oracle that confirms whether a key exists, making it possible to enumerate valid keys through brute force or dictionary attacks.
What information can an attacker obtain by exploiting this vulnerability?
An attacker can determine which users own specific API keys, retrieve organization membership lists, and harvest management email addresses via the chained get_orgs_v6 endpoint. This organizational and contact information is valuable for targeted attacks, phishing, and supply-chain reconnaissance.
Are there compensating controls if we cannot patch immediately?
Yes. Network segmentation to restrict access to Capgo APIs from trusted networks only can reduce exposure. Additionally, implement API rate limiting and alerting on suspicious enumeration patterns. However, network controls alone do not fix the root cause; patching to 12.128.2 or later is essential.
Is this vulnerability currently being exploited in the wild?
The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of the published date. However, the low barrier to exploitation means defenders should assume active exploitation is possible and patch accordingly.
This analysis is provided for informational purposes and represents original security research by SEC.co. Patch version numbers and affected product details are sourced from vendor advisories and CVE records. Exploit code is not provided. Organizations should validate all remediation steps through vendor documentation and conduct internal testing before deploying patches in production environments. This vulnerability is subject to disclosure and active exploitation risk; immediate action is recommended. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-69755HIGHNeterbit NW-431F Router RCE and Data Exposure Vulnerability
- CVE-2026-0411HIGHNETGEAR Orbi Admin Takeover via Information Disclosure
- CVE-2026-36611HIGHMercusys AC12G Memory Disclosure Vulnerability
- CVE-2026-36719HIGHAgentChat v2.3.0 Unauthenticated Information Disclosure – Password Hash Leak
- CVE-2026-39007HIGHObserveinc Observe Unauthenticated Log Export Information Disclosure
- CVE-2026-41032HIGHNetwork Controller Unauthenticated Log File Disclosure Vulnerability
- CVE-2026-44486HIGHAxios Node.js Proxy Credential Leakage Vulnerability
- CVE-2026-44786HIGHDiscourse Chat Message Disclosure in MessageBus