CVE-2026-8922

Org.keycloak/keycloak-services: keycloak: org.keycloak.protocol.oidc: security flaw in org.keycloak/keycloak-services

Published May 19, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises when both realm‑level and client‑level notBefore revocation policies are configured in Keycloak. The OpenID Connect (OIDC) introspection endpoint fails to honor the realm‑level policy under these conditions, allowing tokens that should have been revoked to remain valid. This flaw, classified as CWE‑303, enables an attacker to maintain unauthorized access or prolonged session validity.

Affected Systems

Red Hat Build of Keycloak is affected. Specific product names are Keycloak services; no exact version information is provided in the advisories. Operators of Red Hat Keycloak deployments should review their configuration for the presence of overlapping revocation policies.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. EPSS data is not available and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is through the OIDC introspection endpoint, which may be accessed by clients or attackers who can query token states. If an attacker can invoke introspection or otherwise learn token status, they can effectively bypass revocation, leading to continued access. In the absence of a vendor patch, the risk remains moderate until an update or configuration change mitigates the issue.

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

  • Disable or remove one of the overlapping notBefore revocation policies so that only a realm‑level or client‑level policy is active, thereby ensuring consistent revocation enforcement.
  • Restrict access to the OIDC introspection endpoint to trusted clients only, and review configuration to enforce revocation checking consistently.
  • Apply the official Red Hat workaround. Note that currently no viable temporary option meets product security criteria.
  • Upgrade to the latest Keycloak release that contains a fix for this flaw, or monitor Red Hat advisories for an upcoming patch and apply it as soon as it becomes available.

Generated by OpenCVE AI on May 19, 2026 at 08:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-83c4-ffjp-mxp9 Keycloak: Revoked Tokens Can Remain Active When Both Realm-Level and Client-Level `notBefore` Revocation Policies are Configured
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
CPEs cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Vendors & Products Redhat build Of Keycloak
Type Values Removed Values Added
Description 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.
Title Org.keycloak/keycloak-services: keycloak: org.keycloak.protocol.oidc: security flaw in org.keycloak/keycloak-services
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-303
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jun 26, 2026, 6:46 AM
Reserved
May 19, 2026, 6:07 AM
Status
Modified
Published
May 19, 2026, 8:16 AM
Modified
Jul 23, 2026, 11:10 AM
Severity
Moderate
Public date
May 19, 2026, 6:22 AM