CVE-2026-97847Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| build keycloak | 26.4 | — | |
| build keycloak | 26.6 | — | |
| Red Hat | Red Hat build of Keycloak 26.4 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.4.17 | — | |
| Red Hat | Red Hat build of Keycloak 26.6 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.6.8 | — | |
| Red Hat | Red Hat Single Sign-On 7 | — |
Referencias y parches
- RHSA-2026:95759 vendor-advisory
- RHSA-2026:95760 vendor-advisory
- RHSA-2026:95761 vendor-advisory
- RHSA-2026:95762 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-97847 vdb-entry
- RHBZ#2540950 issue-tracking