Description
A flaw was found in the SAML protocol implementation of Keycloak, an open-source identity and access management solution. The issue occurs when Keycloak handles SAML authentication requests using the HTTP-Redirect binding. If a client is configured with a wildcard redirect URL, an attacker can craft a request that includes malicious parameters. When a user authenticates, Keycloak appends its legitimate response to the attacker's parameters. This can cause some service providers to process the attacker's data instead of the real login information, potentially leading to a user being logged into the wrong account.
Published: 2026-07-31
Score: 3.4 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the SAML HTTP‑Redirect binding handling of Keycloak. When a client is configured to allow a wildcard redirect URL, an attacker can embed malicious query parameters in the authentication request. After the user authenticates, Keycloak concatenates its legitimate SAML response to the attacker‑supplied parameters, and some service providers may process these injected values instead of the authentic login data This can result in a user being logged into the wrong account or having session data overwritten, effectively allowing unauthorized access or confusion over user identity.

Affected Systems

The affected products include Red Hat Build of Keycloak, Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. No specific version numbers were supplied by the CNA, so all installed releases remain potentially vulnerable until further information is released.

Risk and Exploitability

The CVSS score of 3.4 indicates a low severity impact, but the flaw facilitates parameter pollution that can lead to account confusion. The EPSS score is < 1% (0.00193), indicating a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is a client‑initiated SAML authentication request using the HTTP‑Redirect binding. The attacker must identify a service provider with a wildcard redirect configuration and craft a request containing malicious query parameters. Successful exploitation would require user interaction to complete authentication and relies on the service provider incorrectly handling the appended parameters.

Generated by OpenCVE AI on August 3, 2026 at 10:01 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Restrict redirect URIs to a whitelist of explicit URLs to eliminate wildcard redirects
  • Switch to a different SAML binding such as POST or Artifact, which do not append query strings to the redirect URL
  • Monitor Red Hat security advisories for any official patch or update regarding this issue

Generated by OpenCVE AI on August 3, 2026 at 10:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On

Sat, 01 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 07:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in the SAML protocol implementation of Keycloak, an open-source identity and access management solution. The issue occurs when Keycloak handles SAML authentication requests using the HTTP-Redirect binding. If a client is configured with a wildcard redirect URL, an attacker can craft a request that includes malicious parameters. When a user authenticates, Keycloak appends its legitimate response to the attacker's parameters. This can cause some service providers to process the attacker's data instead of the real login information, potentially leading to a user being logged into the wrong account.
Title Keycloak-services: keycloak-services: saml http-redirect binding response preserves query string leading to parameter pollution
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-20
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 3.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Build Of Keycloak Data Grid Jboss Data Grid Jboss Enterprise Application Platform Expansion Pack Jbosseapxp Red Hat Single Sign On Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-31T19:32:22.166Z

Reserved: 2026-07-29T08:54:37.734Z

Link: CVE-2026-18217

cve-icon Vulnrichment

Updated: 2026-07-31T19:32:18.448Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-31T08:16:28.037

Modified: 2026-08-07T18:05:48.777

Link: CVE-2026-18217

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-28T12:03:23Z

Links: CVE-2026-18217 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:15:03Z

Weaknesses
  • CWE-20

    Improper Input Validation