CVE-2026-96447
JSON

4.2medium

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

Severity
4.2medium CVSS:3.1 by redhat
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.6.8-2 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.6-24 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.6-24 before *
CVE List
keycloak-servicesNot specifiedCVE List

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-96447 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-96447 changed 2026-11-06Public domain