GHSA-v3f7-2p4r-mwfw
Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass
Quick fix
GHSA-v3f7-2p4r-mwfw — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>26.6.4</version> for org.keycloak:keycloak-servicesDetails
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 26.6.4# pom.xml: bump <version>26.6.4</version> for org.keycloak:keycloak-servicesReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-v3f7-2p4r-mwfw[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-9086[ADVISORY]
- https://access.redhat.com/errata/RHSA-2026:30049[WEB]
- https://access.redhat.com/errata/RHSA-2026:30050[WEB]
- https://access.redhat.com/errata/RHSA-2026:30083[WEB]
- https://access.redhat.com/errata/RHSA-2026:30084[WEB]
- https://access.redhat.com/security/cve/CVE-2026-9086[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2480170[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9086.json[WEB]