5.4Medium

CVE-2025-11429Keycloak-server: too long and not settings compliant session

Keycloak keycloak; Red Hat Red Hat build of Keycloak 26.2; Red Hat Red Hat build of Keycloak 26.2.11 Published: (1 year ago)

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.

Weakness (CWE): CWE-613

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
build keycloak 26.2 —
Keycloak keycloak < 26.4.1
Red Hat Red Hat build of Keycloak 26.2 all versions
Red Hat Red Hat build of Keycloak 26.2.11 —

References and patches