# CVE-2026-96447: Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding

- Severity: Medium 4.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-11-06T06:02:51.358Z
- Modified: 2026-11-19T21:36:50.798Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.6.8-2 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.6-24 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.6-24 before *)
- keycloak-services: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:95761> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95762> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-96447> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2539288> (issue-tracking)

## Sources

- CVE List: [CVE-2026-96447](https://www.cve.org/CVERecord?id=CVE-2026-96447), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-96447](https://nvd.nist.gov/vuln/detail/CVE-2026-96447), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-96447 · Whole record: https://cve.day/CVE-2026-96447.json · Rebuilt by cve.day 2026-11-25T22:59:49.221Z
