CVE-2026-56215
Received Received - Intake
Email Modification in Capgo Leading to Account Merge

Publication date: 2026-06-20

Last updated on: 2026-06-20

Assigner: VulnCheck

Description
Capgo before 12.128.12 allows authenticated users to modify their mutable public.users.email to arbitrary addresses, which the SSO provisioning endpoint trusts as an account-merge key. Attackers can pre-position their account with a victim's corporate SSO email, causing the provision-user endpoint to merge the victim's SSO identity into the attacker-controlled account.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-20
Last Modified
2026-06-20
Generated
2026-06-20
AI Q&A
2026-06-20
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
capgo capgo to 12.128.12 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-56215 is a vulnerability in Capgo versions before 12.128.12 that allows authenticated users to modify their public.users.email field to any arbitrary email address.

The SSO provisioning endpoint trusts this mutable email field as an account-merge key. An attacker can exploit this by pre-registering an account with a victim's corporate SSO email.

When the real victim later signs in via SSO, the system merges the victim's SSO identity into the attacker-controlled account instead of the victim's legitimate account, due to a trust boundary mismatch.

Impact Analysis

This vulnerability can lead to unauthorized access and account takeover scenarios.

  • Attackers can gain unauthorized membership in the victim's SSO organization.
  • The victim's SSO identity can be transferred to the attacker-controlled account.
  • Attackers may obtain durable access to the victim's tenant or corporate resources.
Detection Guidance

Detection of this vulnerability involves identifying if any authenticated user has modified their public.users.email field to an arbitrary email address that does not match their trusted auth.users.email.

Since the vulnerability exploits the SSO provisioning endpoint trusting the mutable public.users.email field, monitoring logs for account merges where the public.users.email differs from the auth.users.email can help detect exploitation.

Commands to detect this might include querying the user database for discrepancies between public.users.email and auth.users.email fields, for example:

  • SQL query: SELECT user_id, public.users.email, auth.users.email FROM users WHERE public.users.email != auth.users.email;
  • Review SSO provisioning logs for merges triggered by public.users.email values that do not match the authenticated user's email.
Mitigation Strategies

Immediate mitigation steps include preventing users from changing their public.users.email to any value different from their trusted auth.users.email.

Additionally, ensure that the SSO provisioning flow resolves existing accounts using the auth.users.email field rather than the mutable public.users.email field.

It is also recommended to verify that the target account's auth.users.email matches the SSO email claim before merging identities.

Applying the patch or upgrading to Capgo version 12.128.12 or later, where this vulnerability is fixed, is the definitive solution.

Compliance Impact

This vulnerability allows an attacker to merge a victim's SSO identity into an attacker-controlled account, resulting in unauthorized access to the victim's SSO organization and potentially durable access to the victim's tenant.

Such unauthorized access and identity compromise could lead to violations of data protection and privacy regulations like GDPR and HIPAA, which require strict controls over user identity, access, and data confidentiality.

By enabling attackers to impersonate legitimate users and access sensitive organizational resources, the vulnerability undermines compliance with standards that mandate secure authentication and identity management.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56215. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart