Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain stale stateless token for deleted subject
-
ExploitWait for service account recreation reusing client ID
-
ExecutionReplay token so username fallback triggers
-
ImpactGain access as new service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific sequence: the user ID that is the subject of a stateless access token must have been deleted so that it no longer resolves, AND a new service account must be created that reuses the same client ID as a previously deleted client, so that Keycloak's username-based fallback resolves the stale token to the new account. The attacker must possess an old, still-structurally-valid stateless access token for the deleted subject (reflected as PR:L - prior possession of a legitimate token). Limiting factors: this is not a default-configuration, zero-precondition remote bypass - it depends on administrative deletion/recreation events with a matching client ID and on stateless token validation being in use, which is why the CVSS marks AC:H; impact is confined to the access rights of the recreated service account (C:L/I:L, A:N). |
| Impact | This is a genuine but low-urgency authentication flaw rather than a high-impact priority. The input CVSS base score is 4.2 (MEDIUM) with vector AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N: network-reachable but high attack complexity, requiring the attacker to already hold a valid (if stale) token (PR:L), with only Low confidentiality and Low integrity impact and no availability impact. There is no EPSS score and no CISA KEV listing in the supplied data, and the only references are a Red Hat advisory and a Red Hat Bugzilla entry - no exploit or PoC reference is present, so exploitation status is 'no public exploit identified at time of analysis.' No SSVC automatable/technical-impact decomposition is provided; the only decision signal is the vuln.today priority label 'this_month,' which is consistent with a medium-severity, not-yet-exploited issue. The signals are mutually consistent (medium CVSS, high complexity, no exploitation evidence, non-urgent decision label), so there is no conflict to flag - but note that EPSS and any SSVC exploitation verdict are MISSING from the input, so the real-world exploitation probability cannot be quantified. Realistic risk is bounded by the narrow precondition chain (a deleted user plus a recreated service account reusing a deleted client's ID), making this a targeted, opportunistic concern rather than a mass-exploitable one. |
| Exploit ScenarioDerived | An organization deletes a user (or client) in Keycloak and later creates a new service account that reuses the same client ID. An attacker who retained an old stateless access token for the deleted subject replays it; because the original user ID no longer resolves, Keycloak falls back to matching by username and binds the stale token to the newly created service account, granting the attacker that account's access. No public exploit code or PoC reference is present in the supplied data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Keycloak TokenManager can misresolve a stale stateless access token to a newly created service account when the original user ID has been deleted and the new account reuses the same client ID, potentially granting the old token the new account's limited access. Rated CVSS 4.2 (CWE-287) with a PR:L vector, exploitation requires a specific administrative deletion/recreation sequence and possession of an old, still-structurally-valid token, so this is a low-urgency authentication bypass rather than a default remote compromise. No public exploit identified at time of analysis.
RemediationAI
The available data does not identify an exact fixed Keycloak version or a vendor workaround, so patch status is not confirmed here. Operators should consult Red Hat's CVE page at https://access.redhat.com/security/cve/CVE-2026-96447 and Bugzilla at https://bugzilla.redhat.com/show_bug.cgi?id=2539288 to confirm affected builds and obtain the vendor-published fix; do not assume a specific release is patched based on this analysis alone. Until a fix is confirmed, the exploitation precondition can be narrowed by avoiding reuse of client IDs from deleted service accounts and by invalidating stale stateless tokens for deleted subjects, but the available sources do not confirm these as vendor-endorsed fixes.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is in Keycloak's TokenManager validation of stateless access tokens. CWE-287 (Improper Authentication) applies because, when the token subject's original user ID no longer resolves, the component falls back to username-based identification without confirming the username corresponds to the original token subject; if a service account with the same client ID as a deleted client is created, a stale token can resolve to that new account. The assessed vector is network-reachable with high attack complexity, low privileges required (consistent with an attacker holding an old token), no user interaction, unchanged scope, and low confidentiality and integrity impact with no availability impact. The trigger beyond this deletion and client-ID-reuse sequence is not described in the available sources.
Know when Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Attacker must already hold a valid old token (PR:L) and depends on a narrow deletion/recreation sequence with a reused client ID (AC:H); access is limited to the service account, so C:L/I:L and A:N.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne
Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in
A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t
A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c
EUVD-2026-117917
GHSA-7frc-6h33-jg59
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB