# 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 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-11-05T17:16:10.269Z
- Modified: 2026-11-09T18:17:36.417Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.17-2 before *; from 26.6.8-2 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-29 before *; from 26.6-24 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-30 before *; from 26.6-24 before *)
- keycloak-services: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:95759> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95760> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95761> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95762> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-97847> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2540950> (issue-tracking)

## Sources

- CVE List: [CVE-2026-97847](https://www.cve.org/CVERecord?id=CVE-2026-97847), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-97847](https://nvd.nist.gov/vuln/detail/CVE-2026-97847), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-97847 · Whole record: https://cve.day/CVE-2026-97847.json · Rebuilt by cve.day 2026-11-25T22:59:49.147Z
