CVE-2026-18217: Improper Input Validation in Red Hat Red Hat Build of Keycloak
CVE-2026-18217 is a vulnerability in the SAML protocol implementation of Red Hat Build of Keycloak. It arises when handling SAML authentication requests via the HTTP-Redirect binding with clients configured with wildcard redirect URLs. An attacker can craft requests with malicious parameters that get appended to legitimate responses, potentially causing some service providers to process attacker-supplied data and leading to users being logged into incorrect accounts. The vulnerability requires specific client configurations and downstream service providers that mishandle duplicate HTTP parameters. The severity is rated low with a CVSS score of 3.4. No official fix or mitigation meeting Red Hat's criteria is currently available.
AI Analysis
Technical Summary
This vulnerability in Red Hat Build of Keycloak involves improper input validation in the SAML HTTP-Redirect binding response handling. When a client uses a wildcard redirect URL, an attacker can inject malicious query parameters into the authentication request. Upon user authentication, Keycloak appends its legitimate SAML response to these attacker-controlled parameters without stripping or validating them. This parameter pollution can cause some service providers to process the attacker's data instead of the real login information, potentially resulting in login CSRF or session swapping attacks. Exploitation requires a specific client configuration and vulnerable downstream service providers. Red Hat rates the severity as Moderate but the CVSS score is 3.4 (low). No patch or effective mitigation is currently available according to Red Hat's advisory.
Potential Impact
Successful exploitation can lead to login cross-site request forgery (CSRF) or session swapping on affected service providers, causing users to be logged into incorrect accounts. The vulnerability does not impact confidentiality or availability but has a low integrity impact. Exploitation requires a network attacker with no privileges and user interaction. The issue arises from improper handling of query strings in SAML HTTP-Redirect binding responses, leading to parameter pollution.
Mitigation Recommendations
Red Hat currently does not provide a fix or mitigation that meets its criteria for ease of use, applicability, or stability. Users should be aware that mitigation options are limited or unavailable at this time. Monitoring Red Hat's advisory page for updates is recommended. No immediate action is mandated by Red Hat beyond awareness of the vulnerability and its conditions.
CVE-2026-18217: Improper Input Validation in Red Hat Red Hat Build of Keycloak
Description
CVE-2026-18217 is a vulnerability in the SAML protocol implementation of Red Hat Build of Keycloak. It arises when handling SAML authentication requests via the HTTP-Redirect binding with clients configured with wildcard redirect URLs. An attacker can craft requests with malicious parameters that get appended to legitimate responses, potentially causing some service providers to process attacker-supplied data and leading to users being logged into incorrect accounts. The vulnerability requires specific client configurations and downstream service providers that mishandle duplicate HTTP parameters. The severity is rated low with a CVSS score of 3.4. No official fix or mitigation meeting Red Hat's criteria is currently available.
CVSS v3.1
Score 3.4low
Affected software
Red Hat
Red Hat Build of Keycloak
Red Hat
Red Hat Data Grid 8
Red Hat
Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat
Red Hat Single Sign-On 7
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Build of Keycloak involves improper input validation in the SAML HTTP-Redirect binding response handling. When a client uses a wildcard redirect URL, an attacker can inject malicious query parameters into the authentication request. Upon user authentication, Keycloak appends its legitimate SAML response to these attacker-controlled parameters without stripping or validating them. This parameter pollution can cause some service providers to process the attacker's data instead of the real login information, potentially resulting in login CSRF or session swapping attacks. Exploitation requires a specific client configuration and vulnerable downstream service providers. Red Hat rates the severity as Moderate but the CVSS score is 3.4 (low). No patch or effective mitigation is currently available according to Red Hat's advisory.
Potential Impact
Successful exploitation can lead to login cross-site request forgery (CSRF) or session swapping on affected service providers, causing users to be logged into incorrect accounts. The vulnerability does not impact confidentiality or availability but has a low integrity impact. Exploitation requires a network attacker with no privileges and user interaction. The issue arises from improper handling of query strings in SAML HTTP-Redirect binding responses, leading to parameter pollution.
Mitigation Recommendations
Red Hat currently does not provide a fix or mitigation that meets its criteria for ease of use, applicability, or stability. Users should be aware that mitigation options are limited or unavailable at this time. Monitoring Red Hat's advisory page for updates is recommended. No immediate action is mandated by Red Hat beyond awareness of the vulnerability and its conditions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-29T08:54:37.734Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-18217","vendor":"Red Hat"}]
Threat ID: 6a6c50cf9c2644c7f87f987d
Added to database: 07/31/2026, 07:37:51 UTC
Last enriched: 08/07/2026, 14:37:53 UTC
Last updated: 09/14/2026, 22:01:32 UTC
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.