CVE-2026-53425: Missing InResponseTo validation in Samly allows acceptance of unsolicited SAML responses

Published Aug 20, 2026
·
Updated

Insufficient Verification of Data Authenticity vulnerability in dropbox samly allows an attacker to establish an authenticated session using a SAML response the service provider never requested.

Samly.SPHandler.validateauthresp/3 in lib/samly/sphandler.ex validates a SAML response for the SP-initiated flow by comparing only the RelayState value, the IdP identifier, and the presence of a target URL held in the session. It never compares SubjectConfirmationData/@InResponseTo against the ID of the AuthnRequest the service provider issued, and that request ID is never persisted, so no comparison is possible. SAML 2.0 Core section 4.1.4.3 requires a service provider to reject a response whose InResponseTo does not match a request it made. The underlying esaml library checks status, signature, recipient, audience, and staleness, but likewise never inspects InResponseTo, so nothing else closes the gap. Exploitation requires a validly signed assertion from the trusted IdP, which an attacker can obtain for their own account, and a RelayState matching the victim's session; the assertion signature itself remains intact, so this is not a signature-forgery issue.

This issue affects samly: from v0.3.0 onward.

Affected Software

1 affected component
samly>=undefined

Event History

Aug 20, 2026
CVE Published
via MITRE·05:26 PM
Data Sourced
via MITRE·05:26 PM
DescriptionWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs a validly signed SAML assertion from the service provider's trusted identity provider, which they can obtain for their own account. They also need a RelayState value matching the victim's session; no assertion-signature forgery is required.

2

Which existing SAML checks do not prevent exploitation?

The underlying esaml library still validates status, signature, recipient, audience, and staleness. Those checks do not validate SubjectConfirmationData/@InResponseTo against an AuthnRequest issued by the service provider.

3

How can defenders determine whether their deployment is exposed?

Review the Samly version in use and its SP-initiated response validation path. Affected behavior is present when Samly does not persist the AuthnRequest ID and does not compare it with SubjectConfirmationData/@InResponseTo during authentication-response validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203