Incorrect authorization in Keycloak - CVE-2026-97848

 

Incorrect authorization in Keycloak - CVE-2026-97848

Published: November 19, 2026


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

Vulnerability details

The vulnerability allows a remote user to forge client-role claims and potentially access protected resources that rely on those claims.

The vulnerability exists due to incomplete sanitization of structured role claims in the protocol mapper pipeline when a mapper emits JSON objects that the role filter does not recognize. A remote user can cause unauthorized role claims to pass through the filter to present forged client roles to relying applications.

Access tokens can contain a duplicate resource_access claim. A forged resource_access claim can also appear in ID tokens, UserInfo responses, and introspection responses.


Affected software

Keycloak

How to mitigate CVE-2026-97848

Install security update from vendor's website.

Keycloak - update to 26.8.2

External References

Related Security Bulletins