Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.13-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.13 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.4-2 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-8 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-8 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.4 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 26.6.4 | 26.6.4 | Patch available | GHSA-v3f7-2p4r-mwfw |
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.13-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4.13 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.4-2 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-8 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-8 Patch available CNA
- Red Hat build of Keycloak 26.6.4 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.6.4 Fixed in 26.6.4 Patch available GHSA-v3f7-2p4r-mwfw
Remediation
- Fix · GHSA-v3f7-2p4r-mwfw org.keycloak:keycloak-services (Maven) Fixed in 26.6.4 Advisory →
Red Hat 4 advisories
- RHSA-2026:30084 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.4 Images Security Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:30083 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.4 Security Update
- Red Hat build of Keycloak 26.6.4
- RHSA-2026:30050 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 1 more Red Hat advisories
- RHSA-2026:30049 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Security Update
- Red Hat build of Keycloak 26.4.13
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4.13 | Fixed | RHSA-2026:30049 |
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6.4 | Fixed | RHSA-2026:30083 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9086
- 2026-10-03 Alias added: GHSA-37j9-56gh-j2r7
- 2026-10-29 Alias added: GHSA-v3f7-2p4r-mwfw
- 2026-10-29 Fix available: Maven/org.keycloak:[email protected] · GHSA-v3f7-2p4r-mwfw
- 2026-10-29 CVSS score added · GHSA-v3f7-2p4r-mwfw
- 2026-10-29 Weakness changed · GHSA-v3f7-2p4r-mwfw
- 2026-10-29 10 new references · GHSA-v3f7-2p4r-mwfw
References
Advisory 8
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-9086 · CVE Program
- CVE-2026-9086 · NVD
- FIRST EPSS
- GHSA-37j9-56gh-j2r7 · GitHub Advisory Database · CC BY 4.0
- GHSA-v3f7-2p4r-mwfw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9086 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences