Keycloak: Revoked Tokens Can Remain Active When Both Realm-Level and Client-Level `notBefore` Revocation Policies are Configured
Moderate severity
GitHub Reviewed
Published
May 19, 2026
to the GitHub Advisory Database
•
Updated Jun 11, 2026
Description
Published by the National Vulnerability Database
May 19, 2026
Published to the GitHub Advisory Database
May 19, 2026
Reviewed
Jun 4, 2026
Last updated
Jun 11, 2026
A flaw was found in Keycloak. When both realm-level and client-level
notBeforerevocation 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.References