cvelo
P3 · MediumCVSS 4.2

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

  • CVE-2026-96447
  • GHSA-7frc-6h33-jg59
  • EUVD-2026-117917

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.

Text from the CVE.org record.

Affected

  • Red Hat Red Hat build of Keycloak 26.6

    • from 26.6.8-2 onwards: not affected
    • from 26.6-24 onwards: not affected
  • Red Hat Red Hat build of Keycloak 26.6.8

    • No versions listed
  • Red Hat Red Hat Single Sign-On 7

    • No versions listed

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.