CVE-2026-97847
Identity impersonation in Keycloak service-account tokens via mappers
- CVSS 3.1
- 7.1 high
- EPSS
- —
- Published
- ·
- Modified
Keycloak protocol mappers allow clients to override identity claims in sessionless service-account tokens. An attacker with client management permissions manipulates these claims to impersonate a realm administrator. This affects all Keycloak instances using the affected components.
What to do: No fixed version provided; apply Red Hat's update for CVE-2026-97847
| Product | Affected |
|---|---|
| Red Hat Keycloak | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-287
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
In the news
0 storiesNo ingested article mentions this CVE yet.