Partial String Comparison in Keycloak - CVE-2026-18211
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to intercept an authorization code sent over unencrypted HTTP.
The vulnerability exists due to a partial comparison of redirect URIs in the secure-client-uris policy executor when validating whether an HTTP redirect qualifies for the localhost exception. A remote attacker can receive an authorization code at a non-loopback HTTP destination if a victim authenticates through a client with an affected redirect configuration.
The allow-http-on-localhost option must be enabled.