Org.keycloak:keycloak-model-jpa: case-variant realm urls bypass proxy restrictions
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | affected | — |
| Red Hat | Red Hat Build of Keycloak | affected | — |
| Red Hat | Red Hat Single Sign-On 7 | unknown | — |
| Red Hat | Red Hat Single Sign-On 7 | unknown | — |
No data.
No data.
No data available yet.
Vendor Workaround
Configure upstream reverse proxies, load balancers, or API gateways to enforce case-insensitive path matching (such as case-insensitive regular expressions or URI normalization) for rules restricting realm access. Alternatively, enforce network-level restrictions (such as IP allowlisting or dedicated internal interfaces) instead of URL path filtering alone. Apply the revised configuration by reloading the proxy service: `systemctl reload <proxy_service>` Warning: Reloading or restarting the proxy service may momentarily disrupt active client connections. Ensure that proxy path normalization accurately handles all character casing variants.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Keycloak. When configured with a database that uses case-insensitive collation, Keycloak resolves realm URLs regardless of letter casing. A remote attacker can exploit this behavior by sending requests with alternate letter casing to bypass upstream reverse proxy access controls that rely on case-sensitive path matching. This issue can expose restricted authentication endpoints intended only for internal access, though Keycloak's internal authentication mechanisms remain intact. | |
| Title | Org.keycloak:keycloak-model-jpa: case-variant realm urls bypass proxy restrictions | |
| First Time appeared |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| Weaknesses | CWE-178 | |
| CPEs | cpe:/a:redhat:build_keycloak: cpe:/a:redhat:red_hat_single_sign_on:7 |
|
| Vendors & Products |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| References |
| |
| Metrics |
cvssV3_1
|
No data.
No data.
No data.
No data.