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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.26% (percentile 11, 2026-11-28)
- **CWE:** CWE-345
- **Published:** 2026-08-20T17:26:35.537Z
- **Modified:** 2026-11-20T06:10:53.318Z

## Who should check

- Anyone running dropbox samly \>= 0.3.0, \< \*
- Anyone running dropbox samly \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \*
- Anyone running handnot2 samly \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \*

## 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.

## Affected and fixed versions

- dropbox samly: \>= 0.3.0, \< \* (cvelist)
- dropbox samly: \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \* (cvelist)
- handnot2 samly: \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \* (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53425. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53425.md
Affected: dropbox samly >= 0.3.0, < *; dropbox samly >= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, < *; handnot2 samly >= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, < *
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for dropbox samly, handnot2 samly: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53425 being exploited?

There is no confirmed exploitation: CVE-2026-53425 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53425?

High: CVSS 7.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-53425?

dropbox samly \>= 0.3.0, \< \*; dropbox samly \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \*; handnot2 samly \>= 8a5bb1b4a4753d05470da2036323477f63cfdf4c, \< \*.

### Is there a fix for CVE-2026-53425?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-53425?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/dropbox/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c>
- patch: <https://github.com/handnot2/samly/commit/8a5bb1b4a4753d05470da2036323477f63cfdf4c>
- other: <https://cna.erlef.org/cves/CVE-2026-53425.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-53425>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53425>

HTML: <https://flawdb.com/CVE-2026-53425> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53425>
