CVE-2026-18217

Keycloak-services: keycloak-services: saml http-redirect binding response preserves query string leading to parameter pollution

State
Published
Severity
3.4 Low
Published
Jul 31, 2026
Updated
Jul 31, 2026
Reserved
Jul 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.4 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Red Hat Build of KeycloakRed Hat
    Red Hat Build of KeycloakRed Hat
      Red Hat Build of KeycloakRed Hat
        Red Hat Data Grid 8Red Hat
          Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
            Red Hat Single Sign-On 7Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.