Skip to main content
EPSS 0.2%top 94%

CVE-2026-18218: Missing Authorization in Red Hat Red Hat Build of Keycloak

0
Medium
Published: 07/31/2026 (07/31/2026, 06:38:18 UTC)
Source: GCVE Database
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CVSS v3.1

Score 4.2medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:19:09 UTC

Technical Analysis

CVE-2026-18218 is a moderate severity vulnerability in Keycloak's TokenManager component. When an administrator tries to revoke tokens for a particular client using a "not-before" policy, the revocation can be silently ignored if the security realm already has an older, non-zero revocation policy. This logic error in the TokenManager.NotBeforeCheck function causes client-specific revocation policies to be bypassed in favor of the older realm-level policy. As a result, tokens previously issued may continue to be used for session refresh, introspection, and accessing user information even after revocation attempts. Exploitation requires low privileges but a specific pre-existing realm configuration and possession of valid tokens. Red Hat's advisory confirms no current mitigation or fix meets their criteria for deployment.

Potential Impact

The vulnerability allows attackers who possess valid tokens and have knowledge of a specific realm configuration to continue using revoked tokens for refreshing sessions, introspection, and accessing user information. This leads to unauthorized access to sensitive data and potential privilege escalation by bypassing intended token revocation controls. The impact is limited to confidentiality and integrity with no availability impact. Exploitation complexity is high due to required conditions, and no known exploits are reported in the wild.

Mitigation Recommendations

According to the Red Hat advisory, no effective mitigation or patch is currently available that meets criteria for ease of use, deployment, or applicability. Administrators should be aware of the issue and monitor vendor communications for future fixes. Until a fix is released, cautious management of token revocation policies and minimizing token exposure are advisable, but no direct mitigation is provided by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-vhxw-j6h3-48jm
Osv Schema Version
1.4.0
Aliases
["CVE-2026-18218"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7742a8bf8831d539b08c0a

Added to database: 08/08/2026, 14:52:24 UTC

Last enriched: 08/08/2026, 15:19:09 UTC

Last updated: 09/23/2026, 06:18:36 UTC

Views: 109

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses