Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Keycloak client with broad redirect URI pattern
-
DeliveryCraft OAuth authorization URL with polluted duplicate parameters
-
ExploitDeliver link to target user via phishing
-
ExecutionUser clicks link and completes authentication
-
PersistClient app resolves attacker-supplied parameter preferentially
-
ImpactAuthentication bypass or token redirect to attacker endpoint
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Hardware validation bypass
|
| Exploitation Conditions | Exploitation requires two concurrent non-default conditions: first, the targeted Keycloak OAuth/OIDC client must be configured with an overly broad or permissive redirect URI pattern - exact-match URI configurations are not vulnerable; second, a legitimate user must click an attacker-crafted authorization URL (UI:R per CVSS vector). The CVSS AC:H rating explicitly confirms that exploitation is not straightforward even when these conditions are met, as the attacker must precisely engineer the parameter pollution to be resolved in their favor by the specific client application. SSVC confirms the attack is not automatable. Exploitation is further constrained to scenarios where the attacker has prior knowledge of the target application's OAuth client configuration and redirect URI pattern. Default Keycloak deployments with properly scoped redirect URIs are not affected; this is a configuration-dependent vulnerability. |
| Impact | The CVSS score of 4.2 (Medium) accurately reflects several significant mitigating factors embedded in the vector. AC:H (High Attack Complexity) indicates that exploitation is not straightforward and requires specific alignment of conditions - namely a misconfigured client redirect URI and user interaction. UI:R (User Interaction Required) confirms the attacker cannot exploit this autonomously; a victim must click a crafted link. The scope is unchanged (S:U) and both confidentiality and integrity impacts are rated Low (C:L/I:L), meaning the blast radius per successful exploit is constrained. EPSS at 0.08% (23rd percentile) strongly corroborates low real-world exploitation activity. SSVC further confirms: Exploitation status is none, the attack is not automatable, and technical impact is only partial. Taken together, these signals consistently point to a low-priority finding for most environments. However, for high-assurance or regulated deployments where any authentication bypass - even partial - carries outsized organizational risk, the authentication bypass tag elevates urgency. There are no conflicting signals in the available data; CVSS vector, EPSS, SSVC, and reported tag are all internally consistent. |
| Exploit ScenarioDerived | An attacker identifies a web application protected by Keycloak whose registered OAuth client uses a broad redirect URI pattern (e.g., matching an entire domain or using a wildcard prefix). The attacker crafts a malicious OAuth authorization URL containing duplicate redirect_uri or state parameters - with the attacker-controlled value positioned to be processed preferentially by the client application - and delivers this URL to a target user via phishing email or malicious link. When the user clicks the link and completes authentication, the client application resolves the polluted parameter in the attacker's favor, potentially redirecting the authorization code or session token to an attacker-controlled endpoint. No public proof-of-concept exploit code has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
HTTP parameter pollution in Keycloak enables authentication bypass against deployments where OAuth/OIDC client applications are configured with permissive redirect URI patterns. An unauthenticated remote attacker who can trick a user into clicking a crafted authorization URL can inject duplicate HTTP parameters into the OAuth flow, causing the client application to prioritize attacker-supplied values over server-authoritative data - potentially hijacking the authentication process or gaining unauthorized resource access. No public exploit has been identified and EPSS (0.08%, 23rd percentile) signals low real-world exploitation probability; however, the authentication bypass impact is meaningful in identity-sensitive deployments.
RemediationAI
The primary remediation is to enforce strict, exact-match redirect URI registration for all Keycloak OAuth/OIDC clients - replacing any wildcard, prefix-based, or broadly permissive URI patterns with fully-qualified exact URIs. This directly eliminates the misconfiguration prerequisite required for exploitation; the trade-off is that legitimate applications must have all valid redirect URIs explicitly enumerated, which requires a URI audit across registered clients. For patch availability and exact fixed versions, consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-9689 - no specific patched Keycloak version was confirmed in the available input data, so a version upgrade recommendation cannot be made with confidence at this time. Additionally, review the Keycloak admin console for any clients with URI patterns containing wildcards (e.g., '*' or broad domain-level matches) and restrict them immediately as a compensating control while awaiting vendor patch guidance.
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-deployed open-source identity and access management (IAM) platform supporting OAuth 2.0 and OpenID Connect (OIDC) flows. The root cause is CWE-1288 (Improper Validation of Consistency within Input), which in this context manifests as HTTP parameter pollution - a technique where duplicate query parameters in a crafted URL are resolved inconsistently by different components in the authentication chain (e.g., the authorization server versus the relying-party client application). When a Keycloak client is registered with overly broad redirect URI patterns (wildcards or prefix-matching rather than exact URIs), an attacker can insert duplicate authorization parameters (such as state, redirect_uri, or code) into the authorization request URL. The downstream client processes these polluted parameters out of intended precedence order, acting on attacker-supplied values instead of those set by the authorization server. No CPE strings were provided in the available data, so exact affected package versions cannot be confirmed from this source alone.
Know when 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:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Keycloak, an open-source identity and access management solution. When a client application is configured to accept broad redirect Uniform Resource Identifiers (URIs), a remote attacker can manipulate the authentication process by crafting a special web address. If a user clicks this link, the client application might incorrectly prioritize attacker-controlled information over legitimate data. This vulnerability, known as HTTP parameter pollution, could allow an attacker to bypass security measures or gain unauthorized access to resources.
Blast Radius
ecosystem impact- 50 maven packages depend on org.keycloak:keycloak-services (22 direct, 28 indirect)
Ecosystem-wide dependent count for version 26.5.0.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Build Of Keycloak
View allA misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita
Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin
Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin
A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across
A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this
A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra
Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th
Privilege escalation in Keycloak's Fine-Grained Admin Permissions v2 (FGAPv2) allows administrative users with the manag
A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no
An open redirect vulnerability was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely e
EUVD-2026-32212
GHSA-wcvj-vpvw-9rr5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB