What’s Vulnerable › Vulnerabilities
CVE-2026-96447: Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding
- Severity: medium (CVSS 4.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-06 · updated 2026-11-19
- Weakness: CWE-287
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
- Red Hat build of Keycloak 26.4: all versions — fixed in 26.6.8-2
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.6.8-2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:95761
- https://access.redhat.com/errata/RHSA-2026:95762
- https://access.redhat.com/security/cve/CVE-2026-96447
- https://bugzilla.redhat.com/show_bug.cgi?id=2539288
Get alerted when CVE-2026-96447 or the next vulnerability affects your stack