Improper Authentication in Keycloak - CVE-2026-97847

 

Improper Authentication in Keycloak - CVE-2026-97847

Published: November 19, 2026


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

Vulnerability details

The vulnerability allows a remote privileged user to impersonate a realm administrator and take control of the realm.

The vulnerability exists due to improper binding of token claims to the authenticated principal in Keycloak's identity resolution logic when processing a sessionless service-account token with mapped identity claims. A remote privileged user can cause that token to resolve to a different principal to act with the privileges of a realm administrator.


Affected software

Keycloak

How to mitigate CVE-2026-97847

Install security update from vendor's website.

Keycloak - update to 26.8.2

External References

Related Security Bulletins