Description
A flaw was found in the token exchange mechanism of Keycloak. When using Standard Token Exchange V2, the system issues new tokens with a fresh lifetime based on the requester clients configuration instead of limiting it to the original tokens expiration. This issue allows an authenticated requester to indefinitely extend access for service accounts by repeatedly exchanging tokens, even if the original client has been disabled by an administrator.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6.8-2 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6-24 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6-24 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6.8
Default version status: unaffected
Red Hat Red Hat build of Keycloak 26.6.8
Default version status: unaffected
Red Hat Red Hat Single Sign-On 7
Default version status: unaffected