REDHAT-BUG-2545801: Medium severity Keycloak Keycloak vulnerability

Published Oct 5, 2026
·
Updated

A flaw was found in the org.keycloak.protocol.oidc package of Keycloak. The OAuth 2.0 Device Authorization Grant flow does not correctly enforce the per-client minimum.acr.value setting. While the standard Authorization Code flow properly requires multi-factor authentication (MFA) when this setting is present, the Device Authorization flow allows authentication to complete at a lower Level of Assurance (LoA 1, password only). The root cause is a missing validation step in the device grant code path to ensure the resulting authentication context class reference (ACR) meets the client's configured minimum. An attacker with knowledge of a user's primary credentials can exploit this to bypass MFA requirements. Successful exploitation allows the attacker to obtain a valid access token with the client's scoped roles and use it to perform unauthorized actions via the Keycloak Admin REST API, such as managing users or modifying realm configurations.

Affected Software

1 affected component
Keycloak Keycloak

Event History

Oct 5, 2026
Data Sourced
via Red Hat·05:38 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using the OAuth 2.0 Device Authorization Grant flow for a client that has a per-client minimum.acr.value configured are exposed. The standard Authorization Code flow is described as correctly enforcing the MFA requirement.

2

What does an attacker need to exploit the issue?

An attacker needs knowledge of a user's primary credentials. They can then use the Device Authorization flow to authenticate at LoA 1 with a password rather than satisfying the client's configured MFA requirement.

3

What access could an attacker gain after successful exploitation?

The attacker can obtain a valid access token carrying the affected client's scoped roles. Those permissions may allow unauthorized Keycloak Admin REST API actions, including managing users or modifying realm configuration.

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