Cross-site scripting in Keycloak - CVE-2026-9086
Published: June 29, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code in the Keycloak origin.
The vulnerability exists due to cross-site scripting in client URI validation when processing a specially crafted redirect URI with a case-insensitive javascript: or data: scheme. A remote user can register a malicious client and supply a crafted link to execute arbitrary code in the Keycloak origin.
User interaction is required to click the crafted link, such as during the logout flow or in the Admin Console.
Affected software
Red Hat build of Keycloak
How to mitigate CVE-2026-9086
Red Hat build of Keycloak - addressed in versions 26.4.13, 26.6.4