CVE-2026-9086 Details
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.
A Cross-Site Scripting (XSS) vulnerability has been identified in Keycloak. This issue allows remote attackers with administrative privileges, specifically those holding 'manage-client' permissions or access to client registration endpoints, to bypass validation of client Uniform Resource Identifiers (URIs). The vulnerability arises from the ability to register a malicious client using a specially crafted redirect URI that exploits case-insensitivity in 'javascript:' or 'data:' schemes. When a victim interacts with the crafted link, particularly during the logout process or within the Admin Console, it can execute arbitrary code in the Keycloak origin.
To address this vulnerability, restrict the ability to register new clients and manage existing client configurations. If Dynamic Client Registration is not needed, disable it in Keycloak's Realm Settings under Client Registration Policies. For necessary Dynamic Client Registration, configure policies to prevent anonymous client registration and require initial access tokens for all client registrations. Additionally, limit the 'manage-client' role to trusted administrators. Note that changes to Keycloak configuration may require a service restart or redeployment to take effect.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | redhat-SADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat build of keycloak | >= 26.4, < 26.4.13 >= 26.6, < 26.6.4 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 1, 2026 | Initial Analysis | [email protected] |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | CISA-ADP |
| Jun 25, 2026 | New CVE Received | [email protected] |