Bug 2577542 (CVE-2026-133537)

Summary: CVE-2026-133537 org.keycloak:keycloak-services: org.keycloak:keycloak-common: UMA URI suffix matching authorization bypass
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aschwart, aszczucz, boliveir, drichtar, mposolda, pjindal, rmartinc, ssilvert, sthorger, vmuzikar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrick Del Bello 2026-11-20 02:44:53 UTC
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 `response_mode=decision`, the
authorization endpoint returns a positive decision for the denied URI,
defeating resource-level authorization for affected configurations.