{"id":"CVE-2026-28809","aliases":["CVE-2026-28809","GHSA-4g2h-vm7x-747c","EEF-CVE-2026-28809"],"related":[],"kind":"vulnerability","state":"published","title":"XXE in esaml SAML library allows local file read and potential SSRF","summary":"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.\n\nesaml 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.\n\nThis 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.\n\nThis issue affects esaml: all versions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nesaml 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.\n\nThis 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.\n\nThis issue affects esaml: all versions.","source":"cvelist"},{"lang":"en","text":"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.\n\nesaml 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.\n\nThis 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nXML 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.\n\nesaml 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.\n\nThis 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.\n\nThis issue affects esaml: all versions.\n\n## Workarounds\n\nUpgrade to Erlang/OTP 27 or later. Starting with OTP 27, `xmerl_scan` disables entity expansion by default, which mitigates this vulnerability without changes to esaml.\n\n## Configurations\n\nThe application must use esaml to process SAML messages and run on Erlang/OTP versions before 27. Starting with OTP 27, `xmerl_scan` disables entity expansion by default, which mitigates this vulnerability.","format":"markdown","source":"eef"},{"lang":"es","text":"La vulnerabilidad de Entidad Externa XML (XXE) en esaml (y sus bifurcaciones) permite a un atacante hacer que el sistema lea archivos locales e incorpore su contenido en documentos SAML procesados, y potencialmente realizar SSRF a través de mensajes SAML manipulados.\n\nesaml analiza mensajes SAML controlados por el atacante utilizando xmerl_scan:string/2 antes de la verificación de firma sin deshabilitar la expansión de entidades XML. En versiones de Erlang/OTP anteriores a la 27, Xmerl permite entidades por defecto, lo que habilita ataques XXE previos a la firma. Un atacante puede hacer que el host lea archivos locales (por ejemplo, secretos montados en Kubernetes) en el documento SAML. Si el atacante no es un SP SAML de confianza, la verificación de firma fallará y el documento será descartado, pero el contenido del archivo aún puede quedar expuesto a través de registros o mensajes de error.\n\nEste problema afecta a todas las versiones de esaml, incluyendo las bifurcaciones de arekinath, handnot2 y dropbox. Los usuarios que ejecutan Erlang/OTP 27 o posterior no se ven afectados debido a que Xmerl deshabilita las entidades por defecto.","source":"nvd"}],"published":"2026-03-23T10:09:29.233Z","modified":"2026-11-25T17:23:05.097Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","fixed":"*","status":"affected"}],"vendor":"arekinath","product":"esaml","package":"arekinath/esaml","cpe":"cpe:2.3:a:arekinath:esaml:*:*:*:*:*:*:*:*","repo":"https://github.com/arekinath/esaml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"vendor":"dropbox","product":"esaml","package":"esaml","cpe":"cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*","repo":"https://github.com/dropbox/esaml","source":"cvelist"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","fixed":"*","status":"affected"}],"vendor":"dropbox","product":"esaml","package":"dropbox/esaml","cpe":"cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*","repo":"https://github.com/dropbox/esaml","source":"cvelist"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","fixed":"*","status":"affected"}],"vendor":"handnot2","product":"esaml","package":"handnot2/esaml","cpe":"cpe:2.3:a:handnot2:esaml:*:*:*:*:*:*:*:*","repo":"https://github.com/handnot2/esaml","source":"cvelist"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","fixed":"bab85efde7c136911402a881ca55173759467a26","status":"affected"}],"vendor":"Jump-App","product":"esaml","package":"jump-app/esaml","cpe":"cpe:2.3:a:jump-app:esaml:*:*:*:*:*:*:*:*","repo":"https://github.com/Jump-App/esaml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"4.6.0"}],"ecosystem":"Hex","package":"esaml","purl":"pkg:hex/esaml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Hex","package":"esaml","purl":"pkg:hex/esaml","source":"eef"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","status":"affected"}],"repo":"https://github.com/arekinath/esaml","source":"eef"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","status":"affected"}],"repo":"https://github.com/dropbox/esaml","source":"eef"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","status":"affected"}],"repo":"https://github.com/handnot2/esaml","source":"eef"},{"ranges":[{"type":"git","introduced":"deeb84378d5c82153b470e99d24f77c38afca14a","status":"affected","fixed":"bab85efde7c136911402a881ca55173759467a26"}],"repo":"https://github.com/Jump-App/esaml","source":"eef"},{"ranges":[{"status":"affected","lastAffected":"1.1"}],"vendor":"arekinath","product":"esaml","cpe":"cpe:2.3:a:arekinath:esaml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"dropbox","product":"esaml","cpe":"cpe:2.3:a:dropbox:esaml:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"4.2.0"}],"vendor":"handnot2","product":"esaml","cpe":"cpe:2.3:a:handnot2:esaml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"4.6.0"}],"vendor":"jump-app","product":"esaml","cpe":"cpe:2.3:a:jump-app:esaml:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-28809.html","tags":["patch","related","third-party-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-28809","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/arekinath/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/dropbox/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a","tags":["broken-link","related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/handnot2/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/Jump-App/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/Jump-App/esaml/commit/bab85efde7c136911402a881ca55173759467a26","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28809","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/arekinath/esaml","tags":["package"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/esaml","tags":["package"],"sources":["eef"]}],"credits":["Bryan Lynch","Jonatan Männchen / EEF"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-23T15:07:17.488Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28809","url":"https://www.cve.org/CVERecord?id=CVE-2026-28809","licence":"CVE Terms of Use","modified":"2026-11-20T05:55:34.904Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4g2h-vm7x-747c","url":"https://github.com/advisories/GHSA-4g2h-vm7x-747c","licence":"CC-BY-4.0","modified":"2026-04-06T23:34:40.904Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-28809","url":"https://osv.dev/vulnerability/EEF-CVE-2026-28809","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:05.097Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28809","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28809","licence":"Public domain","modified":"2026-11-20T06:17:23.700Z"}],"updatedAt":"2026-11-25T22:59:16.450Z","epss":{"score":0.00463,"percentile":0.41785,"date":"2026-12-02T12:00:21.000Z"}}