7.1
HIGH CVSS 3.1
CVE-2026-97847
Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
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.

INFO

Published Date :

Nov. 5, 2026, 6:17 p.m.

Last Modified :

Nov. 9, 2026, 6:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-97847 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat single_sign-on
2 Redhat build_of_keycloak
3 Redhat build_keycloak
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 53f830b8-0a3f-465b-8143-3b8a9948e749
CVSS 3.1 HIGH [email protected]
Solution
Update Keycloak to fix identity resolution in protocol mappers and service-account tokens.
  • Update Keycloak to the latest version.
  • Review and secure client manager permissions.
  • Avoid hardcoded-claim mappers for service-account tokens.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-97847 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-97847 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-97847 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 09, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-97847', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-11-09T17:23:32.962876Z'}
  • CVE Modified by [email protected]

    Nov. 06, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/97xxx/CVE-2026-97847.json">CVE-2026-97847</a>
    Added Reference https://access.redhat.com/errata/RHSA-2026:95759
    Added Reference https://access.redhat.com/errata/RHSA-2026:95762
  • CVE Modified by [email protected]

    Nov. 06, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/97xxx/CVE-2026-97847.json">CVE-2026-97847</a>
    Added Reference https://access.redhat.com/errata/RHSA-2026:95760
    Added Reference https://access.redhat.com/errata/RHSA-2026:95761
  • New CVE Received by [email protected]

    Nov. 05, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
    Added CWE CWE-287
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/97xxx/CVE-2026-97847.json">CVE-2026-97847</a>
    Added Reference https://access.redhat.com/security/cve/CVE-2026-97847
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2540950
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.