CVE-2026-133537: Org.keycloak:keycloak-services: org.keycloak:keycloak-common: uma uri suffix matching authorization bypass

Published Nov 20, 2026
·
Updated

A flaw was found in Keycloak. When evaluating access permissions, Keycloak Authorization Services improperly matches resource paths containing wildcard file extensions by evaluating only the file extension suffix and ignoring configured path prefixes. An authenticated remote attacker could exploit this vulnerability by requesting a restricted resource that shares a file extension with a more permissive resource, leading to an authorization bypass and unintended access to protected data.

Other sources

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.

— Red Hat

Affected Software

0 affected components

Event History

Nov 20, 2026
Data Sourced
via Red Hat·02:44 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:12 AM
Data Sourced
via MITRE·03:12 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Keycloak Authorization Services with URI-based resources that use extension-suffix wildcards, such as /public/*.json, are exposed when protected paths elsewhere use the same extension. The risk is greatest where more permissive and restrictive policies apply to different paths sharing a file extension.

2

What does an attacker need to exploit it?

An attacker needs an authenticated remote account with the ability to make UMA permission or authorization requests. They can request a restricted URI such as /admin/secret.json and potentially receive the policy grant associated with a permissive resource such as /public/*.json.

3

How can administrators check whether their authorization policies are affected?

Review Authorization Services resources for wildcard patterns that match file extensions and compare them with restricted URI paths using the same extensions. A test UMA request for a restricted path with response_mode=decision returning a positive decision where the restrictive policy should deny access indicates exposure.

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