User Impersonation Affecting org.keycloak:keycloak-services package, versions [,26.8.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-22989445
  • published26 Nov 2026
  • disclosed5 Nov 2026
  • creditUnknown

Introduced: 5 Nov 2026

NewCVE-2026-96447  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.8.2 or higher.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to User Impersonation via the lookupUserFromStatelessToken function in the TokenManager component. An attacker holding a valid, unexpired stateless access token can present it after an administrator deletes and recreates the client with the same client ID; when the original user ID no longer exists, the username fallback resolves the replacement service account without verifying it matches the token subject. The attacker can then impersonate that account and perform actions or access data allowed by its permissions.

CVSS Base Scores

version 4.0
version 3.1