CVE-2025-11429
JSON

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 packageVersionsReported by
keycloakbefore 26.4.1CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.2.11-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.2-12 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.2-12 before *
CVE List
Red Hat Red Hat build of Keycloak 26.2.11Not specifiedCVE List
org.keycloak:keycloak-services (Maven)from 26.3.0 before 26.4.1, before 26.2.11GitHub Advisory Database

All scores

redhat5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-613

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

SourceRecordLicence
CVE ListCVE-2025-11429 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-64w3-5q9m-68xf changed 2026-09-10CC-BY-4.0
NVDCVE-2025-11429 changed 2026-10-18Public domain