Keycloak Vulnerable to Cross-Site Scripting via Case-Insensitive URI Validation Bypass
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.
What to do
Upgrade org.keycloak:keycloak-services to version 26.6.4 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-services | < 26.6.4 | 26.6.4 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-v3f7-2p4r-mwfw
- https://nvd.nist.gov/vuln/detail/CVE-2026-9086
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/security/cve/CVE-2026-9086
- https://bugzilla.redhat.com/show_bug.cgi?id=2480170
- https://github.com/keycloak/keycloak
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9086.json
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-services- Disclosed
- 29.10.2026
- Updated
- 07.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-v3f7-2p4r-mwfw - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-services
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 104
- First → latest
- 01.2022 11.2026
- Without a fix
- 15
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 29
- Medium 54
- Low 18
Disclosures per year
- 2022: 9
- 2023: 9
- 2024: 17
- 2025: 11
- 2026: 58
-
Keycloak Vulnerable to Cross-Site Scripting via Case-Insensitive URI Validation Bypass this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.