5.4medium
Keycloak-server: too long and not settings compliant session
- Severity
- 5.4medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-64w3-5q9m-68xf
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | before 26.4.1 | CVE List |
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.2.11-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.2-12 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.2-12 before * | CVE List |
| Red Hat Red Hat build of Keycloak 26.2.11 | Not specified | CVE List |
| org.keycloak:keycloak-services (Maven) | from 26.3.0 before 26.4.1, before 26.2.11 | GitHub Advisory Database |
All scores
| redhat | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en Keycloak. Keycloak no aplica inmediatamente la desactivación de la configuración de reino 'Recordarme' en las sesiones de usuario existentes. Las sesiones creadas mientras 'Recordarme' estaba activo retienen su vida útil de sesión extendida hasta que expiran, anulando el cambio de configuración de seguridad reciente del administrador. Esto es un fallo de lógica en la gestión de sesiones que aumenta la ventana potencial para el secuestro exitoso de sesiones o la persistencia de acceso no autorizado a largo plazo. La vulnerabilidad reside en la lógica de expiración de la sesión que se basa en la bandera 'recordarme' local de la sesión sin validar la configuración actual a nivel de reino.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-11429 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-64w3-5q9m-68xf changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-11429 changed 2026-10-18 | Public domain |