Session Fixation Affecting org.keycloak:keycloak-services package, versions [,26.8.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (23rd 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-22989561
  • published26 Nov 2026
  • disclosed5 Nov 2026
  • creditUnknown

Introduced: 5 Nov 2026

NewCVE-2026-107124  (opens in a new tab)
CWE-384  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.8.2 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 Session Fixation via the logout function in the LogoutEndpoint class of keycloak-services. An attacker can send a victim to the OIDC logout endpoint with a stale id_token_hint; the endpoint sets the AUTH_SESSION_ID cookie using the hint’s session ID before completing validation, fixing that session ID in the victim’s browser even if logout fails. When the victim subsequently logs in, the attacker can hijack the login and take control of the victim’s account.

Notes

  • The attacker must be authenticated in the same realm. The victim must have no active session and be induced to visit the crafted logout URL.
  • The takeover also depends on timing: after revoking their own session, the attacker must redeem a pre-minted authorization code during its lifetime (60 seconds by default) after the victim logs in.

CVSS Base Scores

version 4.0
version 3.1