CVE-2026-97847 Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
12 packages: 1 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/keycloak-services(Red Hat build_keycloak 26.4 el9) | All versions | No fix listed | No fix yet |
| redhat/keycloak-services(Red Hat build_keycloak 26.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-operator-bundle:26.4.17-2(Red Hat build_keycloak 26.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat build_keycloak 26.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak 26.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak 26.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9-operator:26.4-30(Red Hat build_keycloak 26.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat build_keycloak 26.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9:26.4-29(Red Hat build_keycloak 26.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat build_keycloak 26.6 el9) | All versions | No fix listed | No fix yet |
| redhat build keycloak | < 26.4-29; < 26.4-30; < 26.4.17-2; < 26.6-24 +3 more | 26.4-29, 26.4-30, 26.4.17-2, 26.6-24, 26.6.8-2 | Fixed |
| redhat red hat single sign on | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhbk/keycloak-operator-bundle:26.4.17-2(Red Hat:build_keycloak:26.4::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9:26.4-29(Red Hat:build_keycloak:26.4::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9-operator:26.4-30(Red Hat:build_keycloak:26.4::el9) | All versions | No fix listed |
| redhat/keycloak-services(Red Hat:build_keycloak:26.4::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:26.4::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat:build_keycloak:26.6::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat:build_keycloak:26.6::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat:build_keycloak:26.6::el9) | All versions | No fix listed |
| redhat/keycloak-services(Red Hat:build_keycloak:26.6::el9) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:26.6::el9) | All versions | No fix listed |
| redhat build keycloak | < 26.4.17-2 | 26.4.17-2 |
| redhat build keycloak | < 26.4-29 | 26.4-29 |
| redhat build keycloak | < 26.4-30 | 26.4-30 |
| redhat build keycloak | = 26.4 | No fix listed |
| redhat build keycloak | < 26.6.8-2 | 26.6.8-2 |
| redhat build keycloak | < 26.6-24 | 26.6-24 |
| redhat build keycloak | = 26.6 | No fix listed |
| redhat red hat single sign on | = 7 | No fix listed |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHSA-2026:95760 patch vendor-advisory
- RHSA-2026:95759 patch vendor-advisory
- RHSA-2026:95762 patch vendor-advisory
- RHSA-2026:95761 patch vendor-advisory
- Red Hat Bugzilla 2540950 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-117612 third-party-advisory