Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-96447 EUVD-2026-117917GHSA-7frc-6h33-jg59

Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding

Published Nov 6, 2026 · Updated Nov 6, 2026 · Assigned by redhat

Description

A flaw was found in the TokenManager component of Keycloak, an open-source identity and access management solution. The issue occurs during the validation of stateless access tokens when the original user ID no longer exists. Keycloak incorrectly falls back to using the username to identify the user without verifying if the identity matches the original token subject. This could allow an attacker with an old token to gain access to a newly created service account if it shares the same client ID as a previously deleted one.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.8 — —
Red Hat Red Hat Single Sign-On 7 — —

Advisories 1

References