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.
Published: 2026-11-05
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: Account Takeover
Action: Immediate Patch
AI Analysis

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.

Generated by OpenCVE AI on November 5, 2026 at 17:21 UTC.

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.


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 yet.

History

Thu, 05 Nov 2026 16:30:00 +0000

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'}


Subscriptions

Redhat Build Keycloak Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-05T16:05:05.257Z

Reserved: 2026-10-19T10:15:42.791Z

Link: CVE-2026-112208

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-05T17:17:38.283

Modified: 2026-11-05T17:17:38.420

Link: CVE-2026-112208

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T17:30:19Z

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness