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

- Severity: High 7.6 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-08-20T17:26:35.537Z
- Modified: 2026-11-25T17:23:14.426Z
- Also known as: EEF-CVE-2026-53425
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: EEF

## Description

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.validate_authresp/3 in lib/samly/sp_handler.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 0.3.0 onward.

(As written by CVE List.)

## Affected

- samly: from 0.3.0 before *
- dropbox/samly: from 8a5bb1b4a4753d05470da2036323477f63cfdf4c before *
- handnot2/samly: from 8a5bb1b4a4753d05470da2036323477f63cfdf4c before *
- samly (Hex): from 0.3.0
- https://github.com/dropbox/samly: from 8a5bb1b4a4753d05470da2036323477f63cfdf4c
- https://github.com/handnot2/samly: from 8a5bb1b4a4753d05470da2036323477f63cfdf4c

## Every score

- EEF: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://cna.erlef.org/cves/CVE-2026-53425.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-53425> (related)
- <https://github.com/dropbox/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c> (related, web)
- <https://github.com/handnot2/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c> (related, web)
- <https://hex.pm/packages/samly> (package)

## Sources

- CVE List: [CVE-2026-53425](https://www.cve.org/CVERecord?id=CVE-2026-53425), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-53425](https://osv.dev/vulnerability/EEF-CVE-2026-53425), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-53425](https://nvd.nist.gov/vuln/detail/CVE-2026-53425), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-53425 · Whole record: https://cve.day/CVE-2026-53425.json · Rebuilt by cve.day 2026-11-25T22:59:34.675Z
