Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-11429 EUVD-2025-35689GHSA-64w3-5q9m-68xf

Keycloak-server: too long and not settings compliant session

Published Oct 23, 2025 · Updated Jan 20, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
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

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.4-iamguarded-compat 26.4.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References