CVE-2026-53425
published high CVSS 4.0 · 7.6Missing InResponseTo validation in Samly allows acceptance of unsolicited SAML responses
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dropbox | — | samly0.3.0 and later · Other versions: unaffected | Affected | Not stated | EEF |
| dropbox | — | dropbox/samlysamly · 8a5bb1b4a4753d05470da2036323477f63cfdf4c and later · Other versions: unaffected | Affected | Not stated | EEF |
| handnot2 | — | handnot2/samlysamly · 8a5bb1b4a4753d05470da2036323477f63cfdf4c and later · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dropbox | samly | 0.3.0 and later (affected · semver)Default: unaffected | EEF · cna |
| dropbox | samly | 8a5bb1b4a4753d05470da2036323477f63cfdf4c and later (affected · git)Default: unaffected | EEF · cna |
| handnot2 | samly | 8a5bb1b4a4753d05470da2036323477f63cfdf4c and later (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-345 CWE-345 Insufficient Verification of Data Authenticity
References
4- EEF CNA record for CVE-2026-53425 https://cna.erlef.org/cves/CVE-2026-53425.html
- Introducing commit 8a5bb1b in dropbox/samly https://github.com/dropbox/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c
- Introducing commit 8a5bb1b in handnot2/samly https://github.com/handnot2/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c
- OSV record EEF-CVE-2026-53425 https://osv.dev/vulnerability/EEF-CVE-2026-53425
Provider assertions
2EEF · cna
Missing InResponseTo validation in Samly allows acceptance of unsolicited SAML responses
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7075bf305abaf21e5e2a054f5261997bf2401774d09694f6fd0d886752edc7ac
- Ingested
- 20 Nov 2026, 06:18:48 UTC
- Source record
- Official CVE record