CVE-2026-112208

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

Published Nov 5, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in the organization identity‑first login flow causes a flag that indicates a successful login to remain set when a user is removed from the session. This stale flag can be used by an attacker who is a member of multiple organizations to impersonate another user. By providing the victim's username the system mistakenly treats the stale flag as proof of identity, allowing the attacker to bypass authentication and gain full access to the victim account and any applications that rely on the same identity provider.

Affected Systems

The vulnerability affects Red Hat Build of Keycloak and Red Hat Single Sign‑On 7. No specific patched versions are listed in the CNA data, so the scope remains broad for all versions of these products that include the organization identity‑first login flow.

Risk and Exploitability

The CVSS score of 8.1 rates this as a high‑severity vulnerability. The EPSS score is not available, indicating no publicly reported exploitation at the time of analysis; however, the vulnerability is listed in the KEV catalog as not listed. The likely attack vector involves an attacker being authenticated to multiple organizations and manipulating the login flow to trigger the stale flag. The flaw requires no privileged system access and can be exploited from the application layer, making it potentially reachable by actors who can simulate legitimate login attempts.

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 ensure the SSO_AUTH re-authentication note is cleared from the authentication session whenever a flow transition strips the authenticated user: upgrade to Red Hat build of Keycloak 26.6.8 (or the fixed Rhbk/Keycloak Rhel/Keycloak Services builds), which clears the lingering SSO_AUTH re-authentication note from the authentication session during login flow transitions such as registration or credential reset, closing all 2 injection vectors (transition to credential reset flow, transition to registration flow). Until patched, this is a concern on Keycloak deployments with the Organization feature enabled and users holding credentials in multiple organizations, so Disable the Organization feature or ensure users cannot hold memberships across multiple organizations. These controls limit blast radius and contain exploitation, but they do not fix the underlying stale authentication state flag defect — apply the upstream patch to fully remediate.


OpenCVE Recommended Actions

  • Apply the vendor patch for Red Hat Build of Keycloak when it is released.
  • If a patch is not yet available, disable the organization identity‑first login flow or require proper session invalidation during login and registration.
  • Implement additional logging and monitoring of login attempts, and enforce multi‑factor authentication for all users.

Generated by OpenCVE AI on November 5, 2026 at 17:21 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: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: account takeover via stale sso_auth note in organization identity-first login
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-305
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.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 9, 2026, 4:51 PM
Reserved
Oct 19, 2026, 10:15 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 5:17 PM
Modified
Nov 9, 2026, 5:17 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM