CVE-2026-53424
JSON

9.1critical

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

Severity
9.1critical CVSS:4.0 by EEF
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
EEF
Also known as
EEF-CVE-2026-53424

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.

Affected

Product or packageVersionsReported by
samlyfrom 0.3.0 before *CVE List
dropbox/samlyfrom 8a5bb1b4a4753d05470da2036323477f63cfdf4c before *CVE List
handnot2/samlyfrom 8a5bb1b4a4753d05470da2036323477f63cfdf4c before *CVE List
samly (Hex)from 0.3.0Erlang Ecosystem Foundation
https://github.com/dropbox/samlyfrom 8a5bb1b4a4753d05470da2036323477f63cfdf4cErlang Ecosystem Foundation
https://github.com/handnot2/samlyfrom 8a5bb1b4a4753d05470da2036323477f63cfdf4cErlang Ecosystem Foundation

All scores

EEF9.1critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Erlang Ecosystem FoundationNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-294

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

Erlang Ecosystem Foundation

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.

NVD (es)

Vulnerabilidad de omisión de autenticación por captura-repetición en dropbox samly permite a un atacante autenticarse como el sujeto de una aserción SAML capturada volviéndola a enviar. Samly.Helper.decode_idp_auth_resp/3 en lib/samly/helper.ex llama a esaml_sp:validate_assertion/2, cuyo detector de duplicados predeterminado es una operación nula (no-op). La aridad /3 que acepta una DuplicateFun existe en esaml e implementa la verificación, pero Samly nunca la llama y no ofrece ninguna configuración para proporcionarla, por lo que el requisito del perfil SSO de navegador web SAML 2.0 de que una aserción de portador se use una sola vez no se aplica. Un atacante que posee una SAMLResponse válida obtenida de la red, del historial del navegador o de los registros puede enviar los bytes idénticos repetidamente hasta que pase el NotOnOrAfter de la aserción, estableciendo cada vez una sesión como el sujeto de la aserción. Este problema afecta a samly: a partir de la versión 0.3.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53424 changed 2026-11-20CVE Terms of Use
Erlang Ecosystem FoundationEEF-CVE-2026-53424 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-53424 changed 2026-11-20Public domain