7.3high
Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass
- Severity
- 7.3high CVSS:3.1 by redhat
- Exploit likelihood
- 0.78% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-v3f7-2p4r-mwfwBIT-KEYCLOAK-2026-9086
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
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.4.13-1 before *, from 26.6.4-2 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.4-19 before *, from 26.6-8 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.4-19 before *, from 26.6-8 before * | CVE List |
| org.keycloak:keycloak-services (Maven) | before 26.6.4 | GitHub Advisory Database |
| redhat build_of_keycloak | from 26.4 before 26.4.13, from 26.6 before 26.6.4 | NVD |
| keycloak (Bitnami) | from 26.4.0 before 26.4.13, from 26.6.0 before 26.6.4 | Bitnami Vulnerability Database |
All scores
| redhat | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| redhat-SADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
References
| https://access.redhat.com/errata/RHSA-2026:30049 | advisory, third-party-advisory, vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:30050 | advisory, third-party-advisory, vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:30083 | advisory, third-party-advisory, vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:30084 | advisory, third-party-advisory, vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2026-9086 | advisory, third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2480170 | advisory, issue-tracking, third-party-advisory, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9086.json | advisory, third-party-advisory, web | |
| https://github.com/keycloak/keycloak/security/advisories/GHSA-v3f7-2p4r-mwfw | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-9086 | advisory, web | |
| https://github.com/keycloak/keycloak | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-9086 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v3f7-2p4r-mwfw changed 2026-10-29 | CC-BY-4.0 |
| NVD | CVE-2026-9086 changed 2026-07-15 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYCLOAK-2026-9086 changed 2026-10-29 | Apache-2.0 |