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

Published Sep 21, 2026
·
Updated

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.

Affected Software

1 affected component
Keycloak Keycloak>=<=

Event History

Sep 21, 2026
CVE Published
via MITRE·06:45 AM
Data Sourced
via MITRE·06:45 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this bypass?

Deployments where an administrator enforces mandatory 2FA setup through a Keycloak client policy are exposed. Users subject to that policy may be able to authenticate with only their password instead of completing the required 2FA enrollment.

2

What does an attacker need to exploit it?

The attacker needs a valid user account and must be able to manually visit the authentication-session restart link during login. The issue does not require user interaction from another party, but the attack complexity is rated high.

3

Are confidentiality or availability affected?

The provided severity vector indicates no direct confidentiality or availability impact. The impact is limited to integrity, because the mandatory authentication requirement can be bypassed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203