Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
- CVE-2026-97847
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.
Text from the CVE.org record.
Affected
Red Hat Red Hat build of Keycloak 26.4
- from 26.4.17-2 onwards: not affected
- from 26.4-29 onwards: not affected
- from 26.4-30 onwards: not affected
Red Hat Red Hat build of Keycloak 26.4.17
- No versions listed
Red Hat Red Hat build of Keycloak 26.6
- from 26.6.8-2 onwards: not affected
- from 26.6-24 onwards: not affected
Red Hat Red Hat build of Keycloak 26.6.8
- No versions listed
Red Hat Red Hat Single Sign-On 7
- No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.