CVE-2026-133435: Org.keycloak:keycloak-model-jpa: case-variant realm urls bypass proxy restrictions
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.
Other sources
A flaw was found in Keycloak. When the database uses a case-insensitive collation, Keycloak resolves realm URLs whose spelling differs in case from the stored realm name. A proxy that blocks a realm path with a case-sensitive rule can be bypassed by using a different case variant, exposing authentication endpoints that the operator intended to keep internal. This does not bypass Keycloak's own authentication.
— Red Hat