REDHAT-BUG-2590872: Medium severity Red Hat Keycloak vulnerability

Published Dec 4, 2026
·
Updated

A flaw was found in the Keycloak keycloak-services component. The UMA permission grant implementation using the urn:ietf:params:oauth:grant-type:uma-ticket grant type accepts an OIDC ID token as a claim token but fails to correctly validate the subject account status and session state. Specifically, the implementation contains an inverted session-validity check, fails to verify if the user account is enabled, and incorrectly accepts offline sessions in place of online ones. An attacker who possesses valid confidential client credentials and a previously obtained, unexpired ID token can exploit this to mint fresh Requesting Party Tokens RPTs. This allows the attacker to maintain access to protected resources after an administrator has disabled the user account or after the user SSO session has reached its maximum lifespan or idle timeout.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Dec 4, 2026
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Deployments using Keycloak UMA permission grants with the urn:ietf:params:oauth:grant-type:uma-ticket grant type are exposed when an attacker has both valid confidential client credentials and a previously obtained, unexpired OIDC ID token.

2

What does an attacker need to exploit the flaw?

The attacker needs valid credentials for a confidential client and an unexpired ID token obtained previously. Those prerequisites can be used to mint new Requesting Party Tokens (RPTs).

3

Does disabling the user or expiring the SSO session stop exploitation?

Not reliably. The affected implementation does not correctly validate account enabled status or session validity, and it can accept offline sessions where an online session is required.

4

How can I tell whether access may persist after a user was disabled or logged out?

Investigate whether fresh RPTs were minted through the UMA ticket grant using an ID token after the associated user account was disabled, or after the user's SSO session exceeded its maximum lifespan or idle timeout.

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