The analysis of the provided security vulnerability and associated patches indicates that the root cause of the issue lies within the handle_scoped_token function in keystone/auth/plugins/mapped.py. The vulnerability, identified as CVE-2026-44394, allows an authenticated user with a federated token to bypass token expiration policies. When such a user requests a new scoped token, the handle_scoped_token function does not preserve the original token's expiration time (expires_at). Consequently, the token provider issues a new token with a fresh, default Time-To-Live (TTL). By repeatedly performing this action before the token expires, a user can indefinitely extend their session. The provided patch addresses this by explicitly adding the expires_at value from the original token to the response data, ensuring the new token inherits the correct expiration time. The commit f94605302a742598478328426240b1e2b6a0d6e4 clearly shows the addition of response_data['expires_at'] = token.expires_at to the handle_scoped_token function, which directly mitigates the vulnerability.