Description
Authentication Bypass by Capture-replay vulnerability in dropbox samly allows an attacker to authenticate as the subject of a captured SAML assertion by resubmitting it.

Samly.Helper.decode_idp_auth_resp/3 in lib/samly/helper.ex calls esaml_sp:validate_assertion/2, whose default duplicate detector is a no-op. The /3 arity accepting a DuplicateFun exists in esaml and implements the check, but Samly never calls it and offers no configuration to supply one, so the SAML 2.0 Web Browser SSO Profile requirement that a bearer assertion be used once is unenforced. An attacker holding a valid SAMLResponse obtained from the network, from browser history, or from logs can submit the identical bytes repeatedly until the assertion's NotOnOrAfter passes, each time establishing a session as the assertion's subject.

This issue affects samly: from 0.3.0 onward.
Published: 2026-08-20
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when Samly fails to enforce the SAML 2.0 Web Browser Single Sign‑On Profile requirement that a bearer assertion be used only once. Because the library does not invoke the duplicate‑assertion detector, an attacker who captures a valid SAMLResponse can repeatedly submit the same assertion bytes until the NotOnOrAfter time expires, allowing the attacker to log in as the assertion’s subject. This flaw provides an authentication bypass and unauthorized access to any system that relies on Samly for SAML authentication.

Affected Systems

The flaw affects the Samly library from version 0.3.0 onward. Primarily, applications using the Dropbox Samly module or handnot2 Samly module are at risk. All deployments of these libraries that have not been upgraded to a version that implements duplicate‑assertion enforcement are impacted.

Risk and Exploitability

The vulnerability receives a CVSS score of 9.1, indicating critical severity. The EPSS score is not available, so the likelihood of exploitation cannot be precisely quantified, but the vulnerability is listed as not present in the CISA KEV catalog. An attacker needs only to obtain a legitimate SAMLResponse through network interception, browser history, or logs, and can replay it without further privileges. Due to the lack of a built‑in duplicate detector, the attacker can reuse the assertion until the NotOnOrAfter timestamp passes, making exploitation straightforward.

Generated by OpenCVE AI on August 20, 2026 at 19:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Samly to the latest publicly available release, or apply an official vendor patch when it becomes available.
  • If an upgrade is not feasible, add application‑level duplicate‑assertion tracking: cache the assertion ID and reject any submission that repeats an ID before the NotOnOrAfter period.
  • Monitor SAML response traffic for repeated assertions and block clients attempting to replay captured assertions.

Generated by OpenCVE AI on August 20, 2026 at 19:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Description Authentication Bypass by Capture-replay vulnerability in dropbox samly allows an attacker to authenticate as the subject of a captured SAML assertion by resubmitting it. Samly.Helper.decode_idp_auth_resp/3 in lib/samly/helper.ex calls esaml_sp:validate_assertion/2, whose default duplicate detector is a no-op. The /3 arity accepting a DuplicateFun exists in esaml and implements the check, but Samly never calls it and offers no configuration to supply one, so the SAML 2.0 Web Browser SSO Profile requirement that a bearer assertion be used once is unenforced. An attacker holding a valid SAMLResponse obtained from the network, from browser history, or from logs can submit the identical bytes repeatedly until the assertion's NotOnOrAfter passes, each time establishing a session as the assertion's subject. This issue affects samly: from v0.3.0 onward. Authentication Bypass by Capture-replay vulnerability in dropbox samly allows an attacker to authenticate as the subject of a captured SAML assertion by resubmitting it. Samly.Helper.decode_idp_auth_resp/3 in lib/samly/helper.ex calls esaml_sp:validate_assertion/2, whose default duplicate detector is a no-op. The /3 arity accepting a DuplicateFun exists in esaml and implements the check, but Samly never calls it and offers no configuration to supply one, so the SAML 2.0 Web Browser SSO Profile requirement that a bearer assertion be used once is unenforced. An attacker holding a valid SAMLResponse obtained from the network, from browser history, or from logs can submit the identical bytes repeatedly until the assertion's NotOnOrAfter passes, each time establishing a session as the assertion's subject. This issue affects samly: from 0.3.0 onward.

Thu, 20 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description Authentication Bypass by Capture-replay vulnerability in dropbox samly allows an attacker to authenticate as the subject of a captured SAML assertion by resubmitting it. Samly.Helper.decode_idp_auth_resp/3 in lib/samly/helper.ex calls esaml_sp:validate_assertion/2, whose default duplicate detector is a no-op. The /3 arity accepting a DuplicateFun exists in esaml and implements the check, but Samly never calls it and offers no configuration to supply one, so the SAML 2.0 Web Browser SSO Profile requirement that a bearer assertion be used once is unenforced. An attacker holding a valid SAMLResponse obtained from the network, from browser history, or from logs can submit the identical bytes repeatedly until the assertion's NotOnOrAfter passes, each time establishing a session as the assertion's subject. This issue affects samly: from v0.3.0 onward.
Title Missing one-time-use enforcement in Samly allows replay of SAML bearer assertions
First Time appeared Dropbox
Dropbox samly
Handnot2
Handnot2 samly
Weaknesses CWE-294
CPEs cpe:2.3:a:dropbox:samly:*:*:*:*:*:*:*:*
cpe:2.3:a:handnot2:samly:*:*:*:*:*:*:*:*
Vendors & Products Dropbox
Dropbox samly
Handnot2
Handnot2 samly
References
Metrics cvssV4_0

{'score': 9.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-08-20T18:37:24.439Z

Reserved: 2026-06-09T11:01:47.529Z

Link: CVE-2026-53424

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-20T18:16:27.680

Modified: 2026-08-20T19:16:54.057

Link: CVE-2026-53424

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:30:05Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay