CVE-2026-97175

Keycloak-services: keycloak-services: unverified idp email auto-linking enables account takeover

Published Nov 5, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the idp-auto-link authenticator of the keycloak-services component, which handles user identity federation. The issue occurs when Keycloak automatically links an incoming identity from an external provider to an existing local account based on an email address without verifying if the provider has validated that email. This can allow an attacker to take over a victim's account by using a matching unverified email address at a brokered provider.

Analysis

AI-generated

Technical impact

A flaw in the idp-auto-link authenticator of Keycloak Services allows an attacker to link an unverified email address from an external identity provider to an existing local account without verification, enabling account takeover. This vulnerability is an authentication bypass (CWE‑287) that compromises account integrity by exploiting the automatic linking feature that trusts provider supplied email addresses.

Affected Systems

The flaw affects Red Hat’s Build of Keycloak and Red Hat Single Sign‑On 7. No specific version numbers are listed, so all releases of these products are potentially impacted.

Risk and Exploitability

The CVSS score of 8.8 classifies this vulnerability as a high‑impact issue. The lack of an available vendor patch and the vendor's statement that no satisfactory workaround exists underscore the risk for attackers who can supply a matching unverified email address through a brokered provider. While the EPSS score is not available, the potential for remote authentication bypass and account takeover warrants close monitoring and remedial action when a patch becomes available. The vulnerability is not listed in CISA's KEV catalog.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to require verification of the email verified claim before linking brokered identities to local accounts in the idp-auto-link authenticator: upgrade to Red Hat build of Keycloak 26.4.17 (or the fixed Rhbk/Keycloak Rhel/Keycloak Services builds), which verify the email verified claim before automatically linking an incoming brokered identity to an existing local account, closing federated identity login using unverified matching email address. Until patched, this is a concern on Keycloak deployments configured with the idp-auto-link authenticator in the first-broker-login flow, so audit brokered external identity providers to ensure they enforce email verification, or avoid using external providers that permit arbitrary unverified email addresses matching existing local accounts. As a compensating measure, Enforce multi-factor authentication on target Keycloak accounts to prevent attackers from completing account takeovers even if the federated identity is automatically linked. These controls limit blast radius and contain exploitation, but they do not fix the underlying improper authentication defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-801 Multi-Factor Authentication (MFA) (medium)


OpenCVE Recommended Actions

  • Disable or remove the idp-auto-link feature if it is not required, or configure it so that only verified email addresses are accepted.
  • Enforce that external identity providers provide only verified email addresses before allowing auto‑linking; configure Keycloak to reject unverified emails from the IdP.
  • Review and audit user accounts for unexpected linked identities or email changes, and monitor authentication logs for patterns that may indicate account takeover.
  • Apply any future official vendor patch or upgrade when it becomes available.
  • Red Hat has not released an official workaround; the vendor indicates current options fail to meet security criteria, so no temporary fix is available.

Generated by OpenCVE AI on November 5, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.4::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Description A flaw was found in the idp-auto-link authenticator of the keycloak-services component, which handles user identity federation. The issue occurs when Keycloak automatically links an incoming identity from an external provider to an existing local account based on an email address without verifying if the provider has validated that email. This can allow an attacker to take over a victim's account by using a matching unverified email address at a brokered provider.
Title Keycloak-services: keycloak-services: unverified idp email auto-linking enables account takeover
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-287
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 9, 2026, 10:25 PM
Reserved
Sep 24, 2026, 5:31 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 6:17 PM
Modified
Nov 9, 2026, 11:17 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM