Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Keycloak session token
  2. Delivery
    Admin issues client-level revocation
  3. Exploit
    TokenManager checks realm policy (non-zero, older timestamp)
  4. Execution
    Client-level revocation silently bypassed
  5. Persist
    Refresh token exchanged for new access token
  6. Impact
    Access user data and maintain session post-revocation

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

Exploitation requires all of the following to be true simultaneously: (1) the attacker or user holds a valid Keycloak refresh token or access token issued before the administrator's revocation attempt, (2) the Keycloak security realm has a pre-existing non-zero 'not-before' timestamp set at the realm level from a prior revocation action, (3) the administrator targets only the client (application) level for the new revocation without also updating the realm-level policy, and (4) the existing realm-level timestamp predates the intended client-level revocation time. CVSS PR:L confirms valid token possession is required - unauthenticated actors cannot exploit this. What limits exploitation further: AC:H indicates the specific realm/client policy timing configuration must already be in place, ruling out default or freshly deployed instances; the attacker must have obtained a token through prior legitimate or compromised access; and exploitation is only relevant when a revocation event occurs, narrowing the attack surface to incident-response windows.

Impact

The CVSS 4.2 score with vector AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N reflects a meaningful but conditional risk. AC:H is the critical modifier: exploitation requires the realm to already have a pre-existing non-zero 'not-before' policy, which limits exposure to deployments with prior revocation history - not default or freshly-deployed Keycloak instances. PR:L confirms the attacker must already possess a valid token, making this a post-compromise persistence or incident-response-evasion scenario rather than an initial access vector. No EPSS score was provided in the available data, leaving exploitation probability unquantified. No CISA KEV listing and no POC are identified, suggesting this has not been observed in active exploitation. Real-world priority is highest for organizations actively using token revocation as a security control during incident response or employee offboarding - in those contexts, the silent failure of a critical security action is operationally severe regardless of the moderate CVSS score.

Exploit ScenarioDerived

During a security incident, an administrator revokes tokens for a compromised service account in a specific client application using the Keycloak admin console's 'not-before' push. Because the realm was configured with an older non-zero revocation policy from a prior administrative action, the new client-level revocation is silently skipped by TokenManager. The compromised account continues to successfully call the token refresh endpoint and access /userinfo, maintaining an active session and data access that the administrator believes has been terminated.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Token revocation bypass in Keycloak's TokenManager component allows sessions and user data access to persist after administrative invalidation. The flaw (CWE-862: Missing Authorization) causes client-level 'not-before' revocation policies to be silently skipped when a realm-level revocation policy with an older, non-zero timestamp is already in place - causing the revocation to produce no effect. Authenticated token holders (PR:L) can continue refreshing sessions and querying user information APIs despite explicit administrative revocation. No public exploit identified at time of analysis; KEV status is not confirmed.

RemediationAI

Administrators should apply vendor-released patches for Red Hat Build of Keycloak, Red Hat Single Sign-On 7, and the affected JBoss EAP Expansion Pack components; exact patched versions are not specified in the available data and must be confirmed via the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2026-18218 and Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2508313. As a compensating control prior to patching, administrators can update the realm-level 'not-before' policy to a current timestamp whenever issuing a client-level revocation - this ensures the realm policy timestamp is newer than the client revocation, preventing the silent bypass. The trade-off is that updating the realm-level policy causes mass token invalidation across all clients in the realm, forcing all users to re-authenticate, not just those of the targeted application. For high-sensitivity revocation scenarios, temporarily elevating the realm 'not-before' timestamp immediately before and after issuing a client revocation provides a narrow window of correct enforcement.

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 implements token lifecycle management through 'not-before' policies, which invalidate tokens issued before a designated timestamp. These policies exist at two scopes: the security realm (global) and individual clients (applications). The TokenManager component is responsible for enforcing revocation during token refresh and userinfo requests. CWE-862 (Missing Authorization) manifests here as a missing or incorrectly ordered comparison between the realm-level and client-level policy timestamps - when the realm policy is older but non-zero, the client-level revocation check is bypassed entirely rather than taking the stricter of the two values. CPE data confirms affected products include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and Red Hat JBoss Enterprise Application Platform Expansion Pack, all of which incorporate Keycloak's token management subsystem.

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

Vendor (redhat) PRIMARY MEDIUM
NVD 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.2 MEDIUM

AC:H reflects the mandatory pre-existing realm revocation policy prerequisite; PR:L because a valid token is required; no availability impact applies.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 4.2 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 07, 2026 - 18:07 NVD
4.2 (MEDIUM) 5.4 (MEDIUM)
CVE Published
Jul 31, 2026 - 06:38 cve.org
MEDIUM 4.2

DescriptionNVD

A flaw was found in the TokenManager component of the Keycloak identity management service. When an administrator attempts to revoke tokens for a specific application (client) using a "not-before" policy, the revocation may be silently ignored if the overall security realm already has an older, non-zero revocation policy in place. This issue can allow previously issued tokens to remain valid for refreshing sessions and accessing user information even after an administrator has attempted to invalidate them. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed enterprise SSO and IAM platform across regulated industries
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy