ADVISORIES

Erlang Ecosystem Foundation

EEF-CVE-2026-53424

Missing one-time-use enforcement in Samly allows replay of SAML bearer assertions

No fix available CVE-2026-53424

Details

Summary

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.

Affected packages

EcosystemPackageAffected versions
Hexsamly
From 0.3.0, no fix listed
v1.0.0, v1.0.0-rc.1, v1.0.0-rc.0, v0.10.1, v0.10.0, v0.9.3, v0.9.1, v0.9.0 and 14 more
v1.0.0, v1.0.0-rc.1, v1.0.0-rc.0, v0.10.1, v0.10.0, v0.9.3, v0.9.1, v0.9.0 and 14 more

References