Files
zitadel/internal/api
Marco A. 450c0560bc fix(idp): reject SAML assertions from a different IdP than the intent
The SAML ACS handler verified the response signature with the IdP from
the request path, but resolved the user under the IdP of the login
intent without comparing the two. Anyone controlling the signing key of
one SAML IdP on an instance could complete a login intent of another
SAML IdP and obtain a session as any user linked to it.

Reject the request when the path IdP does not match the intent's IdP,
in both the ACS and the SLO handler.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit b834f7b1b2)
2026-09-28 06:21:30 +02:00
..
2020-11-26 09:19:14 +01:00
2026-09-21 13:38:53 +02:00