{"id":"CVE-2025-11429","published":"2025-10-23T14:09:31Z","modified":"2026-01-20T21:16:58Z","title":"Keycloak-server: too long and not settings compliant session","vendor":"Keycloak","product":"keycloak","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.15437,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:22088","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22089","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-11429","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2402148","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d","tags":[]},{"url":"https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b","tags":[]},{"url":"https://github.com/keycloak/keycloak/issues/43328","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.09},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"keycloak","affectedVersions":[{"vendor":"Keycloak","product":"keycloak","versions":["< 26.4.1"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-23T14:31:09.392163Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":[">=26.3.0, <26.4.1","<26.2.11"],"patched":["26.4.1","26.2.11"],"from":["GHSA-64w3-5q9m-68xf"],"provenance":"source"}],"summary":{"text":"The flaw is in Keycloak's session management: the session expiration logic trusts the session-local \"Remember Me\" flag and does not check the current realm-level setting, so sessions created while \"Remember Me\" was enabled keep their extended lifetime after an administrator disables it. An attacker who holds a valid low-privileged account over the network, without user interaction, can exploit this to use or keep a hijacked session for longer than the administrator's current configuration intends.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:32Z"},"euvd":{"id":"EUVD-2025-35689","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-keycloak-cve-2025-11429","children":[{"from":"CVE-2025-11429","to":"CVE-2025-12390","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java"],"commits":["https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d","https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b","https://github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282","https://github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-7365","published":"2025-07-10","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-7784","published":"2025-07-18","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-8419","published":"2025-08-06","fixed":"26.3.3","kev":false,"link":{"from":"CVE-2025-8419","to":"CVE-2025-11429","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.3.3","toFixed":"26.4.1","daysApart":78}]}},{"cve":"CVE-2025-11429","published":"2025-10-23","fixed":"26.4.1","kev":false},{"cve":"CVE-2025-12150","published":"2026-02-27","fixed":"26.4.4","kev":false,"link":{"from":"CVE-2025-11429","to":"CVE-2025-12150","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.4.1","toFixed":"26.4.4","daysApart":127}]}},{"cve":"CVE-2025-14082","published":"2025-12-10","fixed":"26.5.0","kev":false},{"cve":"CVE-2025-13881","published":"2026-02-02","fixed":"26.5.2","kev":false},{"cve":"CVE-2025-14778","published":"2026-02-09","fixed":"26.5.3","kev":false,"link":{"from":"CVE-2025-11429","to":"CVE-2025-14778","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.2.11","toFixed":"26.2.13","daysApart":109}]}},{"cve":"CVE-2026-1529","published":"2026-02-09","fixed":"26.5.3","kev":false,"link":{"from":"CVE-2025-11429","to":"CVE-2026-1529","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.2.11","toFixed":"26.2.13","daysApart":109}]}}],"package":"Maven:org.keycloak:keycloak-services"}}