CVE-2026-96447
Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | Medium4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.18% · top 93% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.2.
Weakness
Affected products
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6.8-2 – < *
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6-24 – < *
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6-24 – < *
Red Hat · Red Hat build of Keycloak 26.6.8
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26.6.8
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References (4)
- RHSA-2026:95761 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:95762 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-96447 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2539288 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-96447)Record last updated .