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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.4 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N | redhat |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
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
- https://access.redhat.com/security/cve/CVE-2026-18217vdb-entry
- RHBZ#2508311issue-tracking
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.