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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Keycloak | keycloak | < 26.4.1 | 26.4.1 |
| Red Hat | Red Hat build of Keycloak 26.2 | — | — |
| Red Hat | Red Hat build of Keycloak 26.2.11 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-26.4-iamguarded-compat | 26.4.2-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | >= 26.3.0, < 26.4.1 | 26.4.1 | GHSA-64w3-5q9m-68xf |
| Maven | org.keycloak:keycloak-services | < 26.2.11 | 26.2.11 | GHSA-64w3-5q9m-68xf |
Advisories 1
- WID-SEC-2025-2224 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 27, 2025
References
- RHSA-2025:22088 vendor-advisory
- RHSA-2025:22089 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-11429 vdb-entry
- RHBZ#2402148 issue-tracking
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b
- https://github.com/keycloak/keycloak/issues/43328