Improper Authentication in Keycloak - CVE-2026-96447
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote user to use an old access token to gain unauthorized access as a newly created service account.
The vulnerability exists due to improper verification of the original token subject in TokenManager when stateless token validation falls back to preferred_username because the original user ID no longer exists. A remote user can present an old token that resolves to a replacement identity to act as the newly created service account.
The reported scenario involves recreating a deleted client with the same client ID.