A flaw was found in Keycloaks 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.
The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat build of Keycloak 26.4 | RedHat | rhbk/keycloak-operator-bundle:26.4.14-1 | * |
| Red Hat build of Keycloak 26.4 | RedHat | rhbk/keycloak-rhel9:26.4-22 | * |
| Red Hat build of Keycloak 26.4 | RedHat | rhbk/keycloak-rhel9-operator:26.4-22 | * |
| Red Hat build of Keycloak 26.4.14 | RedHat | keycloak-services | * |
| Red Hat build of Keycloak 26.4.14 | RedHat | rhbk-openshift-rhel9/rhbk-openshift-rhel9 | * |
| Red Hat build of Keycloak 26.6 | RedHat | rhbk/keycloak-operator-bundle:26.6.5-1 | * |
| Red Hat build of Keycloak 26.6 | RedHat | rhbk/keycloak-rhel9:26.6-11 | * |
| Red Hat build of Keycloak 26.6 | RedHat | rhbk/keycloak-rhel9-operator:26.6-11 | * |
| Red Hat build of Keycloak 26.6.5 | RedHat | keycloak-services | * |
| Red Hat build of Keycloak 26.6.5 | RedHat | rhbk/keycloak-rhel9 | * |
| Red Hat build of Keycloak 26.6.5 | RedHat | rhbk-openshift-rhel9/rhbk-openshift-rhel9 | * |
Improperly handled case sensitive data can lead to several possible consequences, including: