REDHAT-BUG-2499593: High severity Keycloak Authorization Services vulnerability
Keycloak Authorization Services resolves request URIs to protected Resources using PathMatcher (org.keycloak.common.util.PathMatcher), which performs purely lexical segment comparison with no URI normalization. Appending a matrix parameter (;x=1) or trailing / to a restricted resource URI causes it to miss the exact match and fall through to a broader, more permissive resource (e.g., the default / catch-all). An authenticated low-privilege user can obtain a granted RPT or positive authorization decision for resources the policy explicitly denies them. The vulnerability affects the UMA grant endpoint, the Protection API matchingUri resolution, and the client-side policy enforcer—all of which share the same unguarded PathMatcher.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2499593?
The severity of REDHAT-BUG-2499593 is classified as high with a score of 7.
How do I fix REDHAT-BUG-2499593?
To fix REDHAT-BUG-2499593, ensure that URI normalization is implemented in your Keycloak Authorization Services configuration.
What are the potential risks of REDHAT-BUG-2499593?
The potential risks of REDHAT-BUG-2499593 include unauthorized access to protected resources due to improper URI matching.
Which Keycloak components are affected by REDHAT-BUG-2499593?
REDHAT-BUG-2499593 affects Keycloak Authorization Services, UMA grant endpoint, Protection API matchingUri resolution, and client-side policy enforcer.
When was REDHAT-BUG-2499593 published?
REDHAT-BUG-2499593 was published on July 13, 2026.