Vulnerability · Published Oct 23, 2025 · Assigned by redhat
CVE-2025-11429Keycloak-server: too long and not settings compliant session
Medium 5.4
In plain English
A medium-severity security flaw in keycloak from Keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 26.4.1 | GHSA-64w3-5q9m-68xf |
| Maven | org.keycloak:keycloak-services | 26.2.11 | GHSA-64w3-5q9m-68xf |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Keycloak | keycloak | 0 – before 26.4.1 |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2.11 | see references |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- RHSA-2025:22088 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22089 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-11429 vdb-entry, x_refsource_REDHAT
- RHBZ#2402148 issue-tracking, x_refsource_REDHAT
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b
- https://github.com/keycloak/keycloak/issues/43328