All reports
High

Keycloak has session fixation in Elytron SAML adapters

Affected versions

Affected versions
<= 22.0.11
Fixed version
22.0.12
Affected versions
>= 23.0.0, <= 24.0.6
Fixed version
24.0.7
Affected versions
>= 25.0.0, < 25.0.5
Fixed version
25.0.5

Exploitation

CVE-2024-7341

Probability of exploitation in the next 30 days: 0.85%

FIRST EPSS · 2026-11-20

Description

A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.

Links

Credits

  • Chetven