Skip to content
OpenAdvisories
High · 7.3 Public exploit CVE-2026-9086 BIT-keycloak-2026-9086EUVD-2026-39473GHSA-37j9-56gh-j2r7GHSA-v3f7-2p4r-mwfw

Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass

Published Jun 25, 2026 · Updated Jul 15, 2026 · Assigned by redhat

Description

A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with `manage-client` permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive `javascript:` or `data:` scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.13 — —
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.4 — —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 26.6.4 26.6.4 GHSA-v3f7-2p4r-mwfw

Advisories 1

References