Cross-Site Scripting (XSS) in Keycloak
Summary
Cross-site scripting in Keycloak (CVE-2026-9086). Confidential information can be exposed externally.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-9086 has been found in Keycloak.
Confidential information can be exposed externally. CVSS score: 7.3/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Keycloak CVE-2026-9086" on the vendor's site.
CVE-2026-9086 (Keycloak) — CWE-79 / CVSS v3 7.3
Attack vector: remote (network-reachable)
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in Keycloak.
Check the vendor advisory for the affected versions of Keycloak.
Severity: High (CVSS 7.3/10). Confidential information can be exposed externally.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Keycloak' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'Keycloak' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Keycloakを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamikeycloak |
≥ 26.4.0, < 26.4.13→ 26.4.13 ≥ 26.6.0, < 26.6.4→ 26.6.4 |
26.4.13 26.6.4 |
| mavenorg.keycloak:keycloak-services |
< 26.6.4→ 26.6.4 |
26.6.4 |
| Red HatRed Hat build of Keycloak 26.4 | — | Not listed |
| Red HatRed Hat build of Keycloak 26.4.13 | — | Not listed |
| Red HatRed Hat build of Keycloak 26.6 | — | Not listed |
| Red HatRed Hat build of Keycloak 26.6.4 | — | Not listed |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- package github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web access.redhat.com
- web access.redhat.com
- web github.com
- web access.redhat.com
- web access.redhat.com
- web security.access.redhat.com
- web github.com
- web github.com