← News

Keycloak: impersonate admin

HighAI-generated2026-11-06

CVE
CVE-2026-97847
Severity
High (CVSS 7.1)
Attack conditions
Remotely, over the network · A regular user account is needed · No user action needed
Exploitation probability (EPSS)
0.3% (within 30 days; FIRST EPSS, 12 November 2026)

Summary

Keycloak's protocol mapper and identity resolution components contain a flaw that lets a client manager with limited rights impersonate a realm administrator and take full control of the realm.

Details

According to the NVD record, a vulnerability exists in Keycloak's protocol mapper and identity resolution modules. The problem occurs when a client manager uses hardcoded-claim mappers to change identity claims in sessionless service-account tokens, which do not contain a session ID.

An attacker with modest client-management permissions can manipulate these claims, causing Keycloak to treat the token bearer as a highly privileged user, such as a realm administrator. This enables the attacker to gain complete control over the realm.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 5 November 2026 NVD record published
  • 6 November 2026 This article was written