A logic flaw exists in Keycloak’s session management. The software does not immediately enforce the disabling of the "Remember Me" realm setting on existing user sessions. Sessions created while "Remember Me" was active maintain their extended session lifetime until they expire, bypassing the administrator’s recent security configuration change. This flaw stems from the session expiration logic relying on the session-local "remember-me" flag without verifying the current realm-level configuration. This increases the potential for session hijacking or unauthorized long-term access.