Keycloak-server: too long and not settings compliant session (Keycloak keycloak)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-613 — DEPRECATED: Insufficient Session Expiration
References
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://access.redhat.com/security/cve/CVE-2025-11429
- https://bugzilla.redhat.com/show_bug.cgi?id=2402148
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b
- https://github.com/keycloak/keycloak/issues/43328
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-64w3-5q9m-68xf — Keycloak does not invalidate sessions when "Remember Me" is disabled
European references
- ENISA EUVD · EUVD-2025-35689
- GCVE · GCVE-0-2025-11429
Affected products
| Product | Versions |
|---|---|
| Keycloak · keycloak | affected 0 < 26.4.1 |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.11-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-12 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-12 < * |
| Red Hat · Red Hat build of Keycloak 26.2.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |