CVE-2025-11429

Keycloak-server: too long and not settings compliant session

State
Published
Severity
5.4 Medium
Published
Oct 23, 2025
Updated
Jan 20, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

Description

A flaw was found in Keycloak. Keycloak does not immediately enforce the disabling of the "Remember Me" realm setting on existing user sessions. Sessions created while "Remember Me" was active retain their extended session lifetime until they expire, overriding the administrator's recent security configuration change. This is a logic flaw in session management increases the potential window for successful session hijacking or unauthorized long-term access persistence. The flaw lies in the session expiration logic relying on the session-local "remember-me" flag without validating the current realm-level configuration.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
keycloakKeycloak
  • before 26.4.1Affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.11-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2.11Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.