Keycloak-services: keycloak-services: account takeover via stale sso_auth note in organization identity-first login

State
Published
Severity
8.1 High
Published
Nov 5, 2026
Updated
Nov 9, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

Description

A flaw was found in the Organization identity-first login flow of the Keycloak authentication server. Keycloak is an open-source identity and access management solution used to secure modern applications and services. The issue occurs when an attacker who belongs to multiple organizations initiates a login and then switches to a registration or password reset path. During this process, a flag indicating a successful login is not properly cleared when the user is removed from the session. An attacker can then provide a victim's username, and the system incorrectly treats the stale flag as proof of the victim's identity. This allows the attacker to bypass authentication and gain full access to the victim's account and connected applications.

ProductVersions
Red Hat build of Keycloak 26.6 Red Hat26.6.8-2 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

  • CWE-305 Authentication Bypass by Primary Weakness

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.