Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid refresh token for audience client
-
DeliveryAdministrator disables the target client
-
ExploitPresent refresh token to token endpoint
-
ExecutionKeycloak reissues access token for disabled client
-
ImpactAccess resource server via offline JWT validation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to already hold a valid, unexpired refresh token for a client (PR:L), and the specific target audience client must have been administratively disabled AFTER the refresh token was issued - this is the core precondition that makes the flaw meaningful. Impact only materializes when the relying resource server validates the issued JWT access token OFFLINE (local signature/claims check) rather than performing live token introspection or userinfo calls against Keycloak, which would reflect the disabled state. High attack complexity (AC:H) reflects this dependency on a disabled-client-plus-offline-validation configuration and the timing window of a live refresh token. |
| Impact | This is a genuinely low-to-moderate priority issue, and the signals are consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N, base 4.2) correctly reflects a network-reachable but authenticated (PR:L - attacker must already hold a valid refresh token) flaw with high attack complexity (AC:H) because exploitation depends on a specific sequence: an audience client being administratively disabled while a refresh token is still live, AND downstream resource servers validating JWTs offline. No EPSS score, KEV entry, or public POC was provided, and the vendor is Red Hat (an authoritative source). Exploitation status is 'no public exploit identified at time of analysis.' This is best characterized as a low-real-risk access-control gap rather than a widespread threat - the impact is limited to continued token issuance for a client an admin believed they had cut off, not privilege escalation or data compromise at scale. The CWE-862 (missing authorization) classification is accurate; the input tag 'Authentication Bypass' overstates it, since this is a failure to re-check authorization state, not a bypass of authentication. |
| Exploit ScenarioDerived | An OIDC client legitimately obtains a refresh token, after which an administrator disables that client (or a target audience client) to revoke its access. Because Keycloak restores the requested audiences from stored client IDs during refresh without checking whether those clients are still enabled, the holder keeps minting valid access tokens, and any resource server performing offline JWT signature/claims validation continues to honor them. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Keycloak's OpenID Connect token refresh path can issue fresh access tokens on behalf of an OIDC client that an administrator has already disabled, because the server restores requested audiences from stored client IDs without re-checking whether that audience client is still enabled. An attacker who already possesses a valid, unexpired refresh token for the affected client can therefore keep obtaining usable access tokens after the client is turned off, but only against resource servers that validate the JWT locally (offline signature/claim checks) rather than calling Keycloak for introspection or userinfo. Scoring is low at CVSS 4.2 (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N), no public exploit code was identified at time of analysis, and exploitation requires both a live refresh token and a client that was disabled after that token was issued.
RemediationAI
No vendor-released patch version is identified in the supplied intelligence, so the first step is to track the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-93999 and the Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2537165 for the exact fixed Red Hat Build of Keycloak / Red Hat Single Sign-On 7 build and upgrade as soon as it is published. Until then, the highest-value compensating control is to stop relying on offline JWT validation for authorization decisions and instead require resource servers to perform live token introspection or userinfo calls against Keycloak, which reflects the disabled client state immediately - the trade-off is added latency and load on the identity provider plus availability coupling on every request. As a second measure, administrators who disable a client should explicitly revoke its refresh tokens and offline sessions (and delete or rotate the associated client credentials) rather than assuming the disabled flag is sufficient, with the caveat that this only covers tokens you know about and requires an operational runbook. Shortening refresh-token and offline-session lifetimes reduces the window in which a stale audience can be used but does not fix the underlying authorization gap. Finally, restrict network and administrative access to the Keycloak token endpoint and audit refresh grants that continue to succeed for disabled or recently modified clients, accepting that log-based detection is reactive rather than preventive.
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
Keycloak is an open-source identity and access management platform that implements OpenID Connect and OAuth 2.0, and Red Hat ships it commercially as Red Hat Build of Keycloak and as the identity layer of Red Hat Single Sign-On 7. In the OIDC authorization-code flow, a refresh token lets a client exchange long-lived credentials for new short-lived access tokens; when rebuilding the new token, Keycloak reconstructs the audience (aud) claim from the client IDs that were originally requested and stored, rather than re-evaluating the current state of each target client. The root cause is CWE-862 (Missing Authorization): no enabled/disabled check is applied to the audience client during the refresh grant, so a disabled client remains a valid audience. Impact is conditional on how downstream resource servers consume the token - if they rely on offline JWT validation (local signature and claim verification), they will accept the token and honour the stale audience, whereas live token introspection or userinfo calls against Keycloak would reveal the disabled state. The affected CPE entries list red_hat_build_of_keycloak and red_hat_single_sign-on_7 with wildcard version ranges, so the advisory should be consulted for exact fixed builds rather than assuming a specific version.
Know when Red Hat Build Of 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
Network refresh endpoint (AV:N) but needs an existing refresh token (PR:L) plus a disabled-client/offline-validation condition (AC:H); limited confidentiality/integrity from continued token access, no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the OIDC protocol implementation of Keycloak, an open-source identity and access management solution. The issue occurs during the token refresh process when the server restores requested audiences from stored client IDs. Keycloak fails to verify if the target audience client is still enabled before issuing a new access token. This allows an application with an existing refresh token to continue obtaining valid access tokens for a disabled client, potentially bypassing administrative access controls for resource servers that rely on offline JWT validation.
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.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-83600
GHSA-82wc-7jr6-wxgm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB