CVE-2025-11429: Keycloak does not invalidate sessions when "Remember Me" is disabled
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.
Published Oct 23, 2025 · Updated Feb 17, 2026
Affected packages
org.keycloak:keycloak-services
- Ecosystem
- Maven
- Affected
- >= 26.3.0, < 26.4.1
- Fixed in
- 26.4.1
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services
org.keycloak:keycloak-services
- Ecosystem
- Maven
- Affected
- < 26.2.11
- Fixed in
- 26.2.11
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to eminaktas.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11429
- https://access.redhat.com/security/cve/CVE-2025-11429
- https://bugzilla.redhat.com/show_bug.cgi?id=2402148
- https://github.com/keycloak/keycloak/issues/43328
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://github.com/keycloak/keycloak/commit/a752492843e21c3ab06090616692e53001864158
- https://github.com/advisories/GHSA-64w3-5q9m-68xf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-11800
Keycloak has authentication bypass via jwt algorithm confusion
high8.1Nov 3, 2026CVE-2026-9083
Keycloak vulnerable to information disclosure through arbitrary filesystem path probing
medium4.9Oct 29, 2026CVE-2026-9086
Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass
high7.3Oct 29, 2026CVE-2026-9705
Keycloak: Attacker can re-enable and take over disabled clients via registration access token
medium6.5Oct 29, 2026CVE-2026-9799
Keycloak allows unauthorized access to resources via uma permission ticket bypass
medium4.6Oct 29, 2026CVE-2026-9800
Keycloak vulnerable to authorization bypass via incorrect uri comparison
high8.1Oct 29, 2026
