CVE-2026-15573: Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher

Published Jul 13, 2026
·
Updated

A flaw was found in Keycloak's Authorization Services. The component responsible for matching request paths to security policies (PathMatcher) does not properly normalize URIs before comparison. By adding extra characters like a trailing slash or matrix parameters to a URL, an attacker can trick the system into applying a less restrictive security policy than intended. This allows an authenticated user to access administrative or restricted areas they should not have permission to see.

Other sources

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.

Red Hat

Affected Software

6 affected components
Keycloak Keycloak Authorization Services (PathMatcher)
redhat Build Of Keycloak>=26.4<26.4.14
redhat Build Of Keycloak>=26.6<26.6.5
redhat Data Grid=8.0
redhat Jboss Enterprise Application Platform Expansion Pack
redhat Single Sign-on=7.0

Event History

Jul 13, 2026
Data Sourced
via Red Hat·07:38 AM
DescriptionSeverityAffected Software
Aug 5, 2026
CVE Published
via MITRE·01:50 PM
Data Sourced
via MITRE·01:50 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-15573?

The severity of CVE-2026-15573 is high with a score of 8.1.

2

How do I fix CVE-2026-15573?

To fix CVE-2026-15573, ensure that Keycloak is updated to the latest version where the vulnerability is patched.

3

What impact does CVE-2026-15573 have on my system?

CVE-2026-15573 allows an attacker to perform an authorization bypass, potentially gaining unauthorized access to protected resources.

4

Which component of Keycloak is affected by CVE-2026-15573?

The PathMatcher component of Keycloak's Authorization Services is affected by CVE-2026-15573.

5

What can an attacker do with CVE-2026-15573?

An attacker can exploit CVE-2026-15573 by manipulating request URIs to bypass authorization checks.

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