REDHAT-BUG-2508313: Medium severity Keycloak keycloak-services vulnerability

Published Jul 29, 2026
·
Updated

A flaw was found in the TokenManager.NotBeforeCheck logic within keycloak-services. The vulnerability occurs when a realm has a nonzero not-before timestamp (e.g., from a previous global revocation or import) and an administrator subsequently sets a newer client-specific not-before timestamp to revoke tokens for a single client. Due to a logic error in how these policies are compared (incorrectly prioritizing the older realm-level value or failing to evaluate the newer client-level value), the client-level revocation is ignored. An authenticated attacker holding OIDC tokens (access or refresh) issued after the realm not-before but before the client not-before can continue to use these tokens. Specifically, an attacker can successfully perform token refresh requests, receive an active status from the introspection endpoint, and retrieve user claims from the UserInfo endpoint, bypassing the intended revocation. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Affected Software

1 affected component
Keycloak keycloak-services

Event History

Jul 29, 2026
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2508313?

The severity of REDHAT-BUG-2508313 is classified as medium with a score of 4.

2

What is the nature of the vulnerability REDHAT-BUG-2508313?

The vulnerability REDHAT-BUG-2508313 involves a flaw in the TokenManager.NotBeforeCheck logic within keycloak-services.

3

How does the vulnerability REDHAT-BUG-2508313 occur?

REDHAT-BUG-2508313 occurs when a realm has a nonzero not-before timestamp and a new client-specific not-before timestamp is set by an administrator.

4

How can I mitigate REDHAT-BUG-2508313 in Keycloak?

To mitigate REDHAT-BUG-2508313, ensure proper management of not-before timestamps within the Keycloak settings.

5

What software is affected by REDHAT-BUG-2508313?

The software affected by REDHAT-BUG-2508313 is Keycloak, specifically the keycloak-services component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203