Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority

State
Published
Severity
7.1 High
Published
Nov 5, 2026
Updated
Nov 9, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.

ProductVersions
Red Hat build of Keycloak 26.4 Red Hat26.4.17-2 and later Not Affected
Red Hat build of Keycloak 26.4 Red Hat26.4-29 and later Not Affected
Red Hat build of Keycloak 26.4 Red Hat26.4-30 and later Not Affected
Red Hat build of Keycloak 26.4.17 Red Hat
Red Hat build of Keycloak 26.4.17 Red Hat
Red Hat build of Keycloak 26.6 Red Hat26.6.8-2 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.