Skip to main content

Keycloak EUVDEUVD-2026-32212

| CVE-2026-9689 MEDIUM
Improper Validation of Consistency within Input (CWE-1288)
2026-05-27 secalert@redhat.com GHSA-wcvj-vpvw-9rr5
4.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Identify Keycloak client with broad redirect URI pattern
  2. Delivery
    Craft OAuth authorization URL with polluted duplicate parameters
  3. Exploit
    Deliver link to target user via phishing
  4. Execution
    User clicks link and completes authentication
  5. Persist
    Client app resolves attacker-supplied parameter preferentially
  6. Impact
    Authentication 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

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

maven org.keycloak:keycloak-services no fix

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

Vendor (redhat) PRIMARY 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Red Hat 4.2 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
CVE-2024-8883 MEDIUM POC
6.1 Sep 19

A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita

CVE-2026-3047 HIGH
8.8 Mar 05

Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin

CVE-2026-9704 HIGH
8.8 May 27

Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2026-3009 HIGH
8.1 Mar 05

Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin

CVE-2024-7885 HIGH
7.5 Aug 21

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across

CVE-2024-7341 HIGH
7.1 Sep 09

A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this

CVE-2024-10234 HIGH
7.3 Oct 22

A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra

CVE-2026-9802 MEDIUM
6.8 May 28

Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th

CVE-2025-7784 MEDIUM
6.5 Jul 18

Privilege escalation in Keycloak's Fine-Grained Admin Permissions v2 (FGAPv2) allows administrative users with the manag

CVE-2024-4629 MEDIUM
6.5 Sep 03

A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no

CVE-2024-7260 MEDIUM
6.1 Sep 09

An open redirect vulnerability was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely e

Vendor StatusVendor

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