Skip to main content

Red Hat Keycloak CVE-2026-8922

| EUVDEUVD-2026-30843 MEDIUM
Incorrect Implementation of Authentication Algorithm (CWE-303)
2026-05-19 redhat GHSA-83c4-ffjp-mxp9
5.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Keycloak and obtain access token
  2. Delivery
    Realm-level notBefore revocation issued by administrator
  3. Exploit
    Submit token to OIDC introspection endpoint
  4. Install
    Introspection logic evaluates client-level policy only
  5. C2
    Realm revocation policy silently bypassed
  6. Execute
    Token returned as active
  7. Impact
    Unauthorized continued access to protected resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication algorithm review
Exploitation Conditions

Exploitation requires that the targeted Keycloak realm has BOTH a realm-level notBefore revocation policy configured (set to a non-zero timestamp) AND at least one client within that realm also has a client-level notBefore policy configured simultaneously. This dual-policy configuration is the specific triggering condition; environments where only realm-level or only client-level notBefore policies are set are not affected by this bypass. The CVSS vector (PR:L) confirms the attacker must possess a currently-issued, but supposedly realm-revoked, access token - meaning exploitation requires a token obtained through prior authentication, not anonymous access. Exploitation is further constrained to the OIDC introspection flow specifically; other token validation paths (e.g., local JWT signature verification without introspection) are not confirmed to be affected by this flaw. Limiting factors include: the requirement for an authenticated session token, the need for the specific dual-policy configuration to be active, and the dependency on resource servers using the introspection endpoint rather than offline JWT validation.

Impact

The CVSS 3.1 base score of 5.4 (Medium) reflects a network-accessible (AV:N), low-complexity (AC:L) attack requiring low privileges (PR:L) with no user interaction and unchanged scope, yielding low confidentiality and integrity impact. The PR:L vector confirms an authenticated attacker is required - exploitation is not possible by anonymous users. There is no EPSS score provided in the available data, no CISA KEV listing, and no publicly known proof-of-concept code, which collectively suggest this has not been observed in mass exploitation. However, the real-world severity can exceed the raw score in specific deployment contexts: organizations that use Keycloak's notBefore revocation as a primary incident response mechanism (e.g., compromised credential revocation or forced re-auth during a breach) may find that their revocation actions are silently ineffective. In environments relying on realm-level notBefore for security-critical revocation workflows, the operational risk is materially higher than the 5.4 score implies. No conflicting signals between CVSS and description were identified.

Exploit ScenarioDerived

An attacker who holds a valid Keycloak access token - obtained either legitimately or through credential theft - retains active token validity even after a Keycloak administrator issues a realm-level notBefore revocation intended to invalidate all tokens issued before a specific timestamp. Because the introspection endpoint ignores the realm-level policy when a client-level notBefore is also set, any resource server querying the introspection endpoint receives an 'active: true' response and grants continued access. This scenario is most impactful in incident response situations where an organization attempts to perform a broad forced-logout or revoke a compromised user session across all applications simultaneously. No public proof-of-concept code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – May 19, 2026

Token revocation bypass in Red Hat Keycloak's OIDC Introspection endpoint allows low-privileged authenticated users to continue using tokens that should have been invalidated by realm-level notBefore revocation policies. When both realm-level and client-level notBefore policies are simultaneously active, the introspection endpoint incorrectly evaluates only the client-level policy, silently ignoring the realm-wide revocation. This means an administrator's deliberate, broad-scope revocation action - typically used in incident response or forced re-authentication scenarios - is rendered ineffective for any clients that also carry a client-level notBefore setting. No public exploit has been identified at time of analysis, and the issue is not listed in the CISA KEV catalog.

RemediationAI

The primary remediation path is to apply the vendor-released patch from Red Hat once available; monitor https://access.redhat.com/security/cve/CVE-2026-8922 for updated advisory status and a fixed build version, as no specific patched version number was confirmed in the available data at time of analysis. As an immediate compensating control, administrators should audit all realms where both a realm-level notBefore policy and one or more client-level notBefore policies are simultaneously configured - this is the precise condition that triggers the bypass. For realms requiring urgent revocation, temporarily removing the client-level notBefore configuration and relying solely on the realm-level policy should restore correct introspection behavior, though this trade-off removes client-scoped revocation granularity. Alternatively, administrators can force token invalidation by rotating client secrets for affected clients, which invalidates existing tokens through a different code path not affected by this flaw. Restricting OIDC introspection endpoint access to trusted internal resource servers via network controls reduces the exposure window but does not eliminate the underlying policy evaluation error.

Affected Packages

maven org.keycloak:keycloak-services no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keycloak implements the OpenID Connect (OIDC) token introspection endpoint (RFC 7662), which resource servers query to validate access tokens. Keycloak's notBefore field is a revocation primitive that marks a timestamp before which all issued tokens for a realm or client are considered invalid - a critical control for forced session invalidation. The affected product (CPE: cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*) implements a two-level policy hierarchy: realm-level (global, administrator-controlled) and client-level (scoped per application). The root cause is classified as CWE-303: Incorrect Implementation of Authentication Algorithm, meaning the logic that evaluates token validity during introspection fails to properly compose or cascade both policy levels - the realm-level notBefore check is bypassed when a client-level policy is also present, violating the expected security hierarchy where realm policy should take precedence.

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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in Keycloak. When both realm-level and client-level notBefore revocation policies are configured, Keycloak's OpenID Connect (OIDC) Introspection feature fails to properly honor the realm-level policy. This allows tokens that should have been revoked to remain active, potentially leading to unauthorized access or continued session validity. This could impact the security of systems utilizing Keycloak for identity and access management.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 61 maven packages depend on org.keycloak:keycloak-services (28 direct, 33 indirect)

Ecosystem-wide dependent count for version 26.6.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
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.0%
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
Medium
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)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
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-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-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-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-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

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