Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding
Historical advisory recorded 6 Nov 2026 12:03:43 UTC. Read the latest advisory.
cve-program · CVE-2026-96447
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
cve-program · CVE-2026-96447
PublishedKeycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding
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.
- Source published
- 6 Nov 2026 06:02:51 UTC
- Source modified
- 6 Nov 2026 10:27:22 UTC
- Saved here
- 6 Nov 2026 12:03:43 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 4.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N