Improper Authentication in Keycloak - CVE-2026-96447

 

Improper Authentication in Keycloak - CVE-2026-96447

Published: November 19, 2026


Vulnerability identifier: #VU167907
CSH Severity: Low
CVSS v4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-96447
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Keycloak

How to mitigate CVE-2026-96447

Install security update from vendor's website.

Keycloak - update to 26.8.2

External References

Related Security Bulletins