PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-96447 Red Hat CVE debrief

A flaw in Keycloak's TokenManager component allows an attacker with an old token to potentially gain access to a newly created service account if it shares the same client ID as a previously deleted one. This issue occurs during the validation of stateless access tokens when the original user ID no longer exists. The vulnerability arises from Keycloak's incorrect fallback to using the username to identify the user without verifying if the identity matches the original token subject. This could lead to unauthorized access if an attacker possesses an old token and the client ID is shared with a newly created service account.

Vendor
Red Hat
Product
Red Hat build of Keycloak 26.6.8
CVSS
MEDIUM 4.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-06
Original CVE updated
2026-11-19
Advisory published
2026-11-06
Advisory updated
2026-11-19

Who should care

Defenders managing Keycloak configurations, especially those with stateless access tokens and service accounts, should assess exposure and prioritize verification and updates. Security teams responsible for identity and access management, as well as operators of Keycloak environments, need to be aware of the potential risks and take appropriate actions to mitigate them.

Why it matters

CVE-2026-96447 allows an attacker with an old token to potentially gain access to a newly created service account if it shares the same client ID as a previously deleted one. Defenders managing Keycloak configurations should assess exposure and prioritize verification and updates.

  • Potential unauthorized access to service accounts with old tokens.
  • Need to verify and update Keycloak configurations.
  • Possible mismatches between user IDs and client IDs.
  • Monitoring for unauthorized access attempts is necessary.

Technical summary

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. The vulnerability is specific to the TokenManager component of Keycloak and involves incorrect handling of user ID and client ID validation.

Defensive priority

Defenders should prioritize verifying and updating Keycloak configurations, especially those with stateless access tokens and service accounts.

Recommended defensive actions

  • Verify and update Keycloak configurations, especially those with stateless access tokens and service accounts.
  • Review and validate user IDs and client IDs for potential mismatches.
  • Monitor for and respond to potential unauthorized access attempts.
  • Perform an inventory of affected systems and prioritize patching based on criticality.
  • Implement compensating controls such as additional monitoring or access restrictions for exposed systems.
  • Track exceptions and retest remediated assets to ensure thorough resolution.
  • Review vendor guidance and apply patches or mitigations as recommended.

Evidence notes

The CVE record and NVD entry provide details on the vulnerability in Keycloak's TokenManager component. Red Hat has provided references to errata and security pages. Evidence is limited to public sources and may not reflect the full scope or impact of the vulnerability. Defenders should verify and update Keycloak configurations, especially those with stateless access tokens and service accounts, and review user IDs and client IDs for potential mismatches.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-96447 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-96447

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-96447 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-96447

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.