Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain manage-client or registration access
-
DeliveryRegister client with case-mangled javascript:/data: redirect URI
-
ExploitBypass URI scheme validation
-
ExecutionDeliver crafted logout/Admin Console link to victim
-
PersistVictim click triggers XSS in Keycloak origin
-
ImpactExfiltrate session tokens / execute actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker who already holds administrative-level access to client management - specifically the |
| Impact | Signals are moderately concordant rather than alarming. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N yields 7.3 (High): network-reachable and low-complexity, but it requires privileges (PR:L) and victim interaction (UI:R), which materially limit mass exploitation. The key prerequisite - an attacker who already holds |
| Exploit ScenarioDerived | An administrator (or attacker who has compromised an account holding |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Stored Cross-Site Scripting in Red Hat Build of Keycloak lets an authenticated administrator with manage-client permission (or access to client registration endpoints) register a malicious client whose redirect URI uses a case-insensitive javascript: or data: scheme, bypassing URI validation. When a victim later clicks a crafted link - for example during the logout flow or within the Admin Console - the script executes in the Keycloak origin, enabling session/token theft and effective code execution in that trusted context. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV; it carries a CVSS 7.3 (PR:L, UI:R).
RemediationAI
No vendor-released patch version is identified in the provided data, so confirm and apply the fixed Red Hat Build of Keycloak release referenced in the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-9086) and Bugzilla 2480170 (https://bugzilla.redhat.com/show_bug.cgi?id=2480170) as soon as it is published - these are the authoritative sources for the exact version. As compensating controls until patched: restrict who holds the manage-client role and lock down or disable the client registration endpoints (set client registration policies to deny anonymous/dynamic registration), since the attack requires that access - the trade-off is reduced self-service for legitimate client onboarding. Audit existing clients for redirect URIs containing javascript: or data: in any letter case and remove offending clients; enforce an allow-list of https: redirect URIs via client registration policies, accepting that custom-scheme native-app clients may need explicit exceptions. A strict Content-Security-Policy on the Keycloak Admin Console and account/logout pages (disallowing inline script execution) reduces XSS impact but may break customized themes and must be tested.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is a widely used open-source identity and access management server (the upstream of Red Hat Build of Keycloak) implementing OAuth 2.0/OpenID Connect, where each registered client declares allowed redirect URIs that Keycloak validates before redirecting browsers during login, logout, and registration flows. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the redirect-URI validation logic only blocked dangerous URI schemes case-sensitively, so a scheme written as JavaScript:, JaVaScRiPt:, or a mixed-case Data: slipped past the deny-list and was later rendered/followed in a browser context within the Keycloak origin. Because the malicious URI executes script in Keycloak's own origin (which holds admin sessions, SSO cookies, and tokens), the XSS is effectively a pivot to code execution in the IdP's trusted context. The affected component per CPE is cpe:2.3:a:red_hat:red_hat_build_of_keycloak (version unspecified/all in the feed).
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Network XSS needs prior client-management privilege (PR:L) and a victim click (UI:R); script runs in the Keycloak origin affecting other sessions, so I assess S:C with high confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
Red Hat Build of Keycloak contains a stored XSS vulnerability (CVSS 7.3) in client registration that allows authenticated administrators to inject malicious code executing in the Keycloak origin. Successful exploitation enables theft of user sessions and tokens, potentially compromising identity and access management for the entire organization. Patch is not yet available; immediate mitigations focus on access control tightening.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Limit manage-client permissions to minimal administrative set; (2) Implement MFA for all Keycloak administrative accounts; (3) Monitor and alert on client registration changes; (4) Restrict network access to Admin Console by IP/VPN; (5) Regular audits of redirect URIs using case-insensitive pattern matching for javascript: and data: schemes; (6) Consider temporary suspension of client self-registration if supported by your deployment model.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-39473
GHSA-37j9-56gh-j2r7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB