3.4Low

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

Red Hat Red Hat build of Keycloak 26.4; Red Hat Red Hat build of Keycloak 26.4.17; Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.8 Published: (3 months ago)

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.

Weakness (CWE): CWE-20

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*