What’s Vulnerable › Vulnerabilities
CVE-2026-97847: Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-05 · updated 2026-11-09
- Weakness: CWE-287
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
- Red Hat build of Keycloak 26.4: all versions — fixed in 26.4.17-2
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.4.17-2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:95759
- https://access.redhat.com/errata/RHSA-2026:95760
- https://access.redhat.com/errata/RHSA-2026:95761
- https://access.redhat.com/errata/RHSA-2026:95762
- https://access.redhat.com/security/cve/CVE-2026-97847
- https://bugzilla.redhat.com/show_bug.cgi?id=2540950
Get alerted when CVE-2026-97847 or the next vulnerability affects your stack