Improper Handling of Extra Parameters Affecting org.keycloak:keycloak-saml-core package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-19006623
  • published20 Aug 2026
  • disclosed28 Jul 2026
  • creditUnknown

Introduced: 28 Jul 2026

NewCVE-2026-18217  (opens in a new tab)
CWE-235  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.keycloak:keycloak-saml-core is an Identity and Access Management plugin for Keycloak.

Affected versions of this package are vulnerable to Improper Handling of Extra Parameters through the generateRedirectUri logic in org.keycloak.saml.BaseSAML2BindingBuilder. An attacker can cause a user’s SAML login response to be appended to attacker-controlled query parameters by sending a crafted SAML HTTP-Redirect request that targets a client with a wildcard redirect URL. When the user authenticates, Keycloak preserves the attacker-supplied parameters alongside SAMLResponse or SAMLRequest and RelayState, which can make a service provider process the wrong values. This can log the user into the attacker’s chosen account or otherwise misassociate the authentication response with the wrong session.

CVSS Base Scores

version 4.0
version 3.1