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


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (27th 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-22989311
  • published26 Nov 2026
  • disclosed9 Nov 2026
  • creditUnknown

Introduced: 9 Nov 2026

NewCVE-2026-125652  (opens in a new tab)
CWE-304  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

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 the AuthorizationCodeGrantType in the OIDC token endpoint. When a user of a client with mandatory PKCE visits the direct reset-credentials link, returns to the login form, and authenticates, Keycloak issues an authorization code without a PKCE challenge. An attacker who intercepts that code can redeem it without a code_verifier to obtain tokens and impersonate the user, accessing or modifying protected data.

Notes

  • The bypass is reached through /realms/{realm}/login-actions/reset-credentials, which skips the authorization endpoint when creating the authorization session.
  • The affected setting is client-level mandatory PKCE; realms enforcing PKCE through the pkce-enforcer client policy are not affected.

CVSS Base Scores

version 4.0
version 3.1