CVE-2026-28809
Description
XML External Entity (XXE) vulnerability in esaml (and its forks) allows an attacker to cause the system to read local files and incorporate their contents into processed SAML documents, and potentially perform SSRF via crafted SAML messages.
esaml parses attacker-controlled SAML messages using xmerl_scan:string/2 before signature verification without disabling XML entity expansion. On Erlang/OTP versions before 27, Xmerl allows entities by default, enabling pre-signature XXE attacks. An attacker can cause the host to read local files (e.g., Kubernetes-mounted secrets) into the SAML document. If the attacker is not a trusted SAML SP, signature verification will fail and the document is discarded, but file contents may still be exposed through logs or error messages.
This issue affects all versions of esaml, including forks by arekinath, handnot2, and dropbox. Users running on Erlang/OTP 27 or later are not affected due to Xmerl defaulting to entities disabled.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
esamlHex | <= 4.6.0 | — |
Affected products
6- cpe:2.3:a:dropbox:esaml:-:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
5- github.com/Jump-App/esaml/commit/bab85efde7c136911402a881ca55173759467a26nvdPatchWEB
- cna.erlef.org/cves/CVE-2026-28809.htmlnvdThird Party AdvisoryPatchWEB
- github.com/advisories/GHSA-4g2h-vm7x-747cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28809ghsaADVISORY
- osv.dev/vulnerability/EEF-CVE-2026-28809nvdThird Party AdvisoryWEB
News mentions
0No linked articles in our index yet.