Keycloak-services: keycloak-services: client not-before revocation ignored when realm not-before is older but nonzero
Published Jul 31, 2026
5.4
MEDIUMCVSS 3.1
EPSS 0.29%
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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Affected products
No data.
- n/a
No data.
Red Hat build of Keycloak 26.6
rhbk/keycloak-operator-bundle:26.6.7-3
Fixed · RHSA-2026:68277
Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9-operator:26.6-20
Fixed · RHSA-2026:68277
Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9:26.6-20
Fixed · RHSA-2026:68277
Red Hat build of Keycloak 26.6.7
keycloak-services
Fixed · RHSA-2026:68278
Red Hat build of Keycloak 26.6.7
rhbk-keycloak-rhel9/rhbk-keycloak-rhel9
Fixed · RHSA-2026:68278
Red Hat build of Keycloak 26.6.7
rhbk-openshift-rhel9/rhbk-openshift-rhel9
Fixed · RHSA-2026:68278
Red Hat Data Grid 8
keycloak-services
Not affected
Red Hat JBoss Enterprise Application Platform Expansion Pack
keycloak-services
Not affected
Red Hat Single Sign-On 7
keycloak-services
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-operator-bundle:26.6.7-3 | Fixed | RHSA-2026:68277 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9-operator:26.6-20 | Fixed | RHSA-2026:68277 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9:26.6-20 | Fixed | RHSA-2026:68277 |
| Red Hat build of Keycloak 26.6.7 | keycloak-services | Fixed | RHSA-2026:68278 |
| Red Hat build of Keycloak 26.6.7 | rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Fixed | RHSA-2026:68278 |
| Red Hat build of Keycloak 26.6.7 | rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Fixed | RHSA-2026:68278 |
| Red Hat Data Grid 8 | keycloak-services | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | keycloak-services | Not affected | n/a |
| Red Hat Single Sign-On 7 | keycloak-services | Not affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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.
Red Hat statement
The Red Hat Product Security team has assessed the severity of this vulnerability as Moderate, given that exploitation requires a specific pre-existing realm configuration and the possession of valid tokens issued within a specific timeframe. Successful exploitation allows an attacker to continue using revoked tokens for refresh, introspection, and UserInfo requests. The vulnerability's root cause is a logic error in the TokenManager.NotBeforeCheck function that fails to correctly enforce client-specific revocation policies when a realm-level policy is also present. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Red Hat mitigation
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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jul 31, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Jul–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.29% (0.00288) | 19.29th | v5 (v2026.06.15) |
| Jul 31, 2026 | 0.13% (0.00131) | 3.14th | v5 (v2026.06.15) |
References (6)
- https://access.redhat.com/errata/RHSA-2026:68277 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68278 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-18218 vdb-entryx_refsource_REDHATVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2508313 issue-trackingx_refsource_REDHATIssue TrackingVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-18218
- https://www.cve.org/CVERecord?id=CVE-2026-18218
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:68277 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2026:68278 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2026-18218 | vdb-entryx_refsource_REDHATVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2508313 | issue-trackingx_refsource_REDHATIssue TrackingVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-18218 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-18218 |
Change history (0)
No recorded changes yet.