Vulnerability · Published Nov 5, 2026 · Assigned by redhat
CVE-2026-97847Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
High 7.1
In plain English
A high-severity improper authentication in Red Hat Build of Keycloak from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
References
- https://access.redhat.com/security/cve/CVE-2026-97847 vdb-entry, x_refsource_REDHAT
- RHBZ#2540950 issue-tracking, x_refsource_REDHAT