{"id":"CVE-2026-53425","published":"2026-08-20T17:26:35Z","modified":"2026-11-20T06:10:53Z","title":"Missing InResponseTo validation in Samly allows acceptance of unsolicited SAML responses","vendor":"dropbox","product":"samly","tier":"tail","description":{"text":"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.\n\nSamly.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.\n\nThis issue affects samly: from 0.3.0 onward.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.11382,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-53425.html","tags":["related","third-party-advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-53425","tags":["related"]},{"url":"https://github.com/dropbox/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c","tags":["related"]},{"url":"https://github.com/handnot2/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c","tags":["related"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":2.28},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"dropbox","affectedVersions":[{"vendor":"dropbox","product":"samly","versions":[">= 0.3.0"]},{"vendor":"dropbox","product":"samly","versions":[">= 8a5bb1b4a4753d05470da2036323477f63cfdf4c"]},{"vendor":"handnot2","product":"samly","versions":[">= 8a5bb1b4a4753d05470da2036323477f63cfdf4c"]}],"capec":[{"id":"CAPEC-62","name":"Cross Site Request Forgery"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-21T19:50:24.245049Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63489","exploited":false,"provenance":"source"}}