Skip to content

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

MediumCVSS 4.2 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

7 packages: 1 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/keycloak-services(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat build keycloak < 26.6-24; < 26.6.8-2; = 26.6 26.6-24, 26.6.8-2 Fixed
redhat red hat single sign on = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/keycloak-services(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat build keycloak < 26.6.8-2 26.6.8-2
redhat build keycloak < 26.6-24 26.6-24
redhat build keycloak = 26.6 No fix listed
redhat red hat single sign on = 7 No fix listed

References