medium5.4
CVE-2026-96460
A flaw was found in the token exchange mechanism of Keycloak.
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Red Hat
| Product | Affected versions |
|---|---|
| Red Hat build of Keycloak 26.6 | Versions patch: 26.6-24, patch: 26.6.8-2 |