CVE-2026-97847

7.1High

Published 05 Nov 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-287

What an attacker gets

Authenticated attackers with client management permissions can impersonate realm administrators. They achieve this by manipulating identity claims in sessionless service-account tokens to escalate privileges.

Root cause

Keycloak incorrectly resolves the bearer of a sessionless service-account token when hardcoded-claim mappers are used to override identity claims.

Affected versions

Keycloak versions prior to the releases specified in RHSA-2026:95759, RHSA-2026:95760, RHSA-2026:95761, and RHSA-2026:95762.

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Fix & remediation

Upgrade to the latest Keycloak release provided by your distribution. As a temporary mitigation, audit and remove any hardcoded-claim mappers currently assigned to service-account clients.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-97847