GHSA-64w3-5q9m-68xf
Keycloak does not invalidate sessions when "Remember Me" is disabled
At a glance
- Published
- Updated
- CVE
- CVE-2025-11429
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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 packages
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | introduced 26.3.0, fixed 26.4.1 |
| Maven · org.keycloak:keycloak-services | introduced 0, fixed 26.2.11 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11429 ADVISORY
- https://github.com/keycloak/keycloak/issues/43328 WEB
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d WEB
- https://github.com/keycloak/keycloak/commit/a752492843e21c3ab06090616692e53001864158 WEB
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b WEB
- https://access.redhat.com/errata/RHSA-2025:22088 WEB
- https://access.redhat.com/errata/RHSA-2025:22089 WEB
- https://access.redhat.com/security/cve/CVE-2025-11429 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2402148 WEB
- https://github.com/keycloak/keycloak PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |