Missing Critical Step in Authentication Affecting org.keycloak:keycloak-services package, versions [,26.8.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-22989699
  • published26 Nov 2026
  • disclosed19 Sept 2026
  • creditUnknown

Introduced: 19 Sep 2026

CVE-2026-94218  (opens in a new tab)
CWE-304  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.8.1 or higher.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Missing Critical Step in Authentication via requested-flow resolution in AuthenticationFlowResolver. When a client policy enforces a stronger flow, a user without OTP enrollment can visit /realms/{realm}/login-actions/restart during login; the restart clears the authentication-session notes used for the selected flow, and active client policies are not re-evaluated. The user then falls back to the realm’s default flow, authenticates with only a password, and obtains a token without completing the required 2FA setup.

Notes

  • Configuration gate at flow selection: the bypass requires a client policy configured with the auth-flow-enforcer executor; a stronger flow enforced by some other mechanism does not reach this vulnerable behavior.

CVSS Base Scores

version 4.0
version 3.1