
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-8922 is a security flaw in Keycloak's OpenID Connect (OIDC) Introspection feature, where revoked tokens can remain active when both realm-level and client-level notBefore revocation policies are simultaneously configured. The vulnerability was reported on May 18, 2026, and publicly disclosed on May 19, 2026. It affects the org.keycloak:keycloak-services Maven package in versions up to and including 26.6.2. It carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat Advisory, GitHub Advisory).
The root cause is classified as CWE-303 (Incorrect Implementation of Authentication Algorithm). When both a realm-level and a client-level notBefore value are present, Keycloak's OIDC Introspection endpoint fails to properly evaluate the realm-level revocation policy, effectively ignoring it in favor of the client-level policy. This means tokens that an administrator has revoked at the realm level may still pass introspection checks and be treated as valid by relying parties. The flaw resides in the org.keycloak.protocol.oidc package within keycloak-services (Red Hat Bugzilla, GitHub Advisory). Relevant fix commits are available at keycloak/keycloak@b6cd645 and keycloak/keycloak@c5bda80, and related issues are tracked in keycloak/keycloak#49118 and #49129 (GitHub Advisory).
Successful exploitation allows an attacker holding a token that should have been revoked at the realm level to continue using it for unauthorized access, bypassing the intended revocation. This results in low confidentiality and low integrity impact — an attacker may access protected resources or perform actions they are no longer authorized to perform, for as long as the token remains valid. Availability is not directly affected. The risk is most significant in environments where realm-level revocation is used as a security response mechanism (e.g., revoking all tokens after a credential compromise), as the bypass undermines that control (Red Hat Advisory, GitHub Advisory).
notBefore revocation policy and a client-level notBefore policy configured, as the flaw only manifests when both are present.notBefore revocation (e.g., via the Keycloak admin console under Realm Settings > Sessions > "Not Before"), which should invalidate all previously issued tokens./realms/{realm}/protocol/openid-connect/token/introspect). Due to the flaw, the endpoint evaluates only the client-level notBefore policy and returns active: true.active: true) for tokens issued before a realm-level notBefore revocation event; audit log entries showing resource access by sessions that should have been invalidated./realms/{realm}/protocol/openid-connect/token/introspect using tokens with an iat (issued-at) timestamp predating the realm's notBefore value.notBefore policies are also in effect.The fix is included in Keycloak version 26.6.3 and later; administrators should upgrade to this release or newer (Keycloak Release). Red Hat has issued errata RHSA-2026:25097 and RHSA-2026:25098 for affected Red Hat build of Keycloak packages (Red Hat Errata 25098, Red Hat Errata 25097). As a workaround prior to patching, administrators can remove client-level notBefore configurations so that only the realm-level policy is in effect, which avoids triggering the flawed code path.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."