Red Hat build of Keycloak 26.4
Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.4.14-1
Fixed in 26.4-22
Fixed in 26.4-22
Fixed in 26.6.5-1
Fixed in 26.6-11
Fixed in 26.6-11
Mitigation
Upgrade Red Hat build of Keycloak 26.4 to 26.4.14-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6.5-1 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50846
- Vendor advisory access.redhat.com/errata/RHSA-2026:50847
- Vendor advisory access.redhat.com/errata/RHSA-2026:50848
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:50849
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.