Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority (Red Hat Red Hat build of Keycloak 26.4)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.33 % · percentile 29 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- Red Hat · Red Hat build of Keycloak 26.4
Red Hat · Red Hat build of Keycloak 26.4.17
Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Red Hat · Red Hat Single Sign-On 7 - NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-287 — Improper Authentication
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L | redhat |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-117612
- GCVE · GCVE-0-2026-97847
Affected products
| Product | Affected versions |
|---|---|
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle | unaffected : ≥ 26.4.17-2 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9 | unaffected : ≥ 26.4-29 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator | unaffected : ≥ 26.4-30 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4.17keycloak-services | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.4.17rhbk/keycloak-rhel9 | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle | unaffected : ≥ 26.6.8-2 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9 | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6.8keycloak-services | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6.8rhbk/keycloak-rhel9 | Other versions : unaffected |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Other versions : unaffected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |