Skip to main content
EPSS 0.2%top 91%

CVE-2026-18217: Improper Input Validation in Red Hat Red Hat Build of Keycloak

0
Low
VulnerabilityCVE-2026-18217cvecve-2026-18217
Published: 07/31/2026 (07/31/2026, 06:38:25 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N

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

AILast updated: 08/07/2026, 14:37:53 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses