CVE-2026-94218

Keycloak-services: keycloak-services: 2fa setup enforcement bypass via authentication session restart endpoint

State
Published
Severity
3.1 Low
Published
Sep 21, 2026
Updated
Sep 21, 2026
Reserved
Sep 21, 2026

Read the record on cve.org

Description

A flaw was found in the authentication session management of Keycloak, an identity and access management solution. The issue occurs when an administrator enforces a stronger authentication flow, such as mandatory two-factor authentication (2FA) setup, through a client policy. A user can bypass this requirement by manually visiting a specific session restart web link during the login process. This action clears the internal markers that track the required security steps, allowing the user to log in with only a password and gain access without completing the mandated 2FA setup.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:Nredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Build of KeycloakRed Hat
    Red Hat Build of KeycloakRed Hat
      Red Hat Build of KeycloakRed Hat
        Red Hat Single Sign-On 7Red Hat

          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.