CVE-2026-97847
published high CVSS 3.1 · 7.1Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.17-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-29 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-30 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26.4.17 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4.17 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.8-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26.6.8 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.8 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.17-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-29 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-30 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.17 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.17 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.8-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-24 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-24 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-287 Improper Authentication
References
6- RHSA-2026:95759 https://access.redhat.com/errata/RHSA-2026:95759
- RHSA-2026:95760 https://access.redhat.com/errata/RHSA-2026:95760
- RHSA-2026:95761 https://access.redhat.com/errata/RHSA-2026:95761
- RHSA-2026:95762 https://access.redhat.com/errata/RHSA-2026:95762
- https://access.redhat.com/security/cve/CVE-2026-97847
- RHBZ#2540950 https://bugzilla.redhat.com/show_bug.cgi?id=2540950
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9be6be51b44ad8e985d79791526d2e345e885fe06111be2aceb551bbf174b297
- Ingested
- 09 Nov 2026, 17:28:44 UTC
- Source record
- Official CVE record