Description
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Published: 2026-07-31
Score: 4.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Keycloak's TokenManager causes revocation requests using a "not-before" policy to be silently ignored when the realm’s not-before value is older but non-zero, allowing previously issued tokens to remain valid for session refreshes and user data access after an administrator attempts to invalidate them. This missing authorization weakness permits re‑use of tokens beyond the intended revocation window.

Affected Systems

The vulnerability affects Red Hat products built on Keycloak, including Red Hat Build of Keycloak, Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign-On 7. All current releases of these products that expose the TokenManager component are potentially impacted until a fix is released.

Risk and Exploitability

With a CVSS score of 4.2 the issue is of moderate severity; the EPSS score is less than 1% (0.131%) and it is not listed in the KEV catalog. The likely attack vector is via an administrative interface or management API that invokes the not‑before revocation function, and an attacker who can submit that request could maintain or elevate access with previously issued tokens. Because the flaw depends on the realm configuration, exploitation requires that an admin perform a revocation while the realm’s older non‑zero policy is in effect, so the risk is limited but still noteworthy for environments that rely on revocation to restrict token reuse.

Generated by OpenCVE AI on August 3, 2026 at 10:01 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Obtain and apply the latest security patch or update for Red Hat Build of Keycloak, Red Hat Data Grid 8, JBoss Enterprise Application Platform Expansion Pack, or Red Hat Single Sign-On 7 from the Red Hat Security Advisory portal.
  • Until a patch is available, avoid using the not‑before revocation policy for client applications and monitor active tokens manually or implement a temporary blacklist to enforce token invalidation.
  • Contact Red Hat security support for guidance and confirm that your environment’s token revocation logic enforces the intended policy until a definitive fix is released.

Generated by OpenCVE AI on August 3, 2026 at 10:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On

Sat, 01 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 31 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 07:30:00 +0000

Type Values Removed Values Added
Description 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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Title Keycloak-services: keycloak-services: client not-before revocation ignored when realm not-before is older but nonzero
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-862
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Build Of Keycloak Data Grid Jboss Data Grid Jboss Enterprise Application Platform Expansion Pack Jbosseapxp Red Hat Single Sign On Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-31T15:58:33.955Z

Reserved: 2026-07-29T09:00:23.659Z

Link: CVE-2026-18218

cve-icon Vulnrichment

Updated: 2026-07-31T15:56:31.410Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-31T08:16:28.177

Modified: 2026-08-07T17:54:23.620

Link: CVE-2026-18218

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T13:46:56Z

Links: CVE-2026-18218 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:15:03Z

Weaknesses