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

Published Nov 20, 2026
·
Updated

Keycloak Authorization Services can resolve a requested URI to an

unrelated protected resource when that resource uses an extension suffix wildcard pattern such as /public/.json. The URI matcher compares the request only against the file extension suffix (e.g., .json), omitting the configured path prefix (e.g., /public/). A suffix match is also retained and preferred over a normal trailing-wildcard candidate. Consequently, a UMA permission request for /admin/secret.json can match against the /public/.json resource and receive its grant policy instead of the deny policy attached to /admin/. When using responsemode=decision, the authorization endpoint returns a positive decision for the denied URI, defeating resource-level authorization for affected configurations.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Nov 20, 2026
Data Sourced
via Red Hat·02:44 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which authorization configurations are exposed?

Configurations that use extension suffix wildcard resource patterns, such as /public/*.json, are affected when another protected URI has a different policy, such as a deny policy on /admin/*. The incorrect match can cause the extension-based resource policy to be used for an unrelated path.

2

What does an attacker need to request to trigger the issue?

The attacker needs to make a UMA permission request for a URI whose filename extension matches an extension wildcard resource. For example, a request for /admin/secret.json can match a resource configured as /public/*.json.

3

When can the authorization endpoint return an incorrect allow decision?

The issue produces a positive authorization decision when response_mode=decision is used and the requested URI matches an extension suffix wildcard resource. This can override the deny policy that would otherwise apply to the requested path.

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