Improper Handling of Extra Parameters in Keycloak - CVE-2026-18217

 

Improper Handling of Extra Parameters in Keycloak - CVE-2026-18217

Published: November 19, 2026


Vulnerability identifier: #VU167852
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-18217
CWE-ID: CWE-235
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a victim to be logged into the wrong account at some SAML service providers.

The vulnerability exists due to improper handling of additional parameters in the SAML HTTP-Redirect binding when building an authentication response redirect. A remote attacker can influence which login data a susceptible service provider processes after the victim authenticates.

The SAML client must be configured with a wildcard redirect URL.


Affected software

Keycloak

How to mitigate CVE-2026-18217

Install security update from vendor's website.

Keycloak - update to 26.7.5

External References

Related Security Bulletins