# CVE-2026-28809: XXE in esaml SAML library allows local file read and potential SSRF

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2026-03-23T10:09:29.233Z
- Modified: 2026-11-25T17:23:05.097Z
- Also known as: GHSA-4g2h-vm7x-747c, EEF-CVE-2026-28809
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

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

This issue affects esaml: all versions.

(As written by CVE List.)

## Affected

- arekinath/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a before *
- esaml: before *
- dropbox/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a before *
- handnot2/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a before *
- jump-app/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a before bab85efde7c136911402a881ca55173759467a26
- esaml (Hex): up to 4.6.0; all versions
- https://github.com/arekinath/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a
- https://github.com/dropbox/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a
- https://github.com/handnot2/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a
- https://github.com/Jump-App/esaml: from deeb84378d5c82153b470e99d24f77c38afca14a before bab85efde7c136911402a881ca55173759467a26
- arekinath esaml: up to 1.1
- dropbox esaml: no versions given
- handnot2 esaml: up to 4.2.0
- jump-app esaml: up to 4.6.0

## Every score

- EEF: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://cna.erlef.org/cves/CVE-2026-28809.html> (patch, related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-28809> (related, third-party-advisory, web)
- <https://github.com/arekinath/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a> (related, web)
- <https://github.com/dropbox/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a> (broken-link, related, web)
- <https://github.com/handnot2/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a> (related, web)
- <https://github.com/Jump-App/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a> (related, web)
- <https://github.com/Jump-App/esaml/commit/bab85efde7c136911402a881ca55173759467a26> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28809> (advisory)
- <https://github.com/arekinath/esaml> (package)
- <https://hex.pm/packages/esaml> (package)

## Sources

- CVE List: [CVE-2026-28809](https://www.cve.org/CVERecord?id=CVE-2026-28809), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-4g2h-vm7x-747c](https://github.com/advisories/GHSA-4g2h-vm7x-747c), CC-BY-4.0, modified 2026-04-06
- Erlang Ecosystem Foundation: [EEF-CVE-2026-28809](https://osv.dev/vulnerability/EEF-CVE-2026-28809), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-28809](https://nvd.nist.gov/vuln/detail/CVE-2026-28809), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-28809 · Whole record: https://cve.day/CVE-2026-28809.json · Rebuilt by cve.day 2026-11-25T22:59:16.450Z
