{"id":"CVE-2026-72766","aliases":["CVE-2026-72766","GHSA-2x35-3fw4-9jr4"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.67 Arbitrary File Read via Send Email Node","summary":"n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a type confusion vulnerability in the Send Email node, which does not enforce that its message fields are strings. A crafted non-string value supplied from a workflow expression into the text or HTML body field can be interpreted by the underlying mail library (Nodemailer) as a file path or URL, allowing arbitrary local file disclosure and server-side request forgery (SSRF). Exploitation requires a pre-existing active workflow with an unauthenticated webhook, valid SMTP credentials configured on the node, and untrusted input mapped directly into the body field; this is not a default configuration.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a type confusion vulnerability in the Send Email node, which does not enforce that its message fields are strings. A crafted non-string value supplied from a workflow expression into the text or HTML body field can be interpreted by the underlying mail library (Nodemailer) as a file path or URL, allowing arbitrary local file disclosure and server-side request forgery (SSRF). Exploitation requires a pre-existing active workflow with an unauthenticated webhook, valid SMTP credentials configured on the node, and untrusted input mapped directly into the body field; this is not a default configuration.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nThe n8n Send Email node did not enforce that its message fields were strings, so a crafted untrusted non-string value from a workflow expression could be treated by the underlying mail library as a file path or URL. This could allow disclosure of local files on the n8n host.\n\nExploitation requires a pre-existing active workflow with an unauthenticated webhook, valid SMTP credentials configured on the Send Email node, and untrusted input mapped directly into the text or HTML body field. This is not a default n8n configuration.\n\n## Patches\n\nThe issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Audit active workflows for Send Email nodes that map untrusted webhook or external data directly into the text or HTML body fields, and remove or restrict those workflows.\n- Restrict public webhook access at the network or reverse-proxy level to prevent unauthenticated callers from reaching sensitive workflows.\n- Restrict workflow creation and editing permissions to fully trusted users only.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n anterior a 1.123.67, 2.x anterior a 2.31.5, y 2.32.x anterior a 2.32.1 contienen una vulnerabilidad de confusión de tipos en el nodo ’Send Email’, que no asegura que sus campos de mensaje sean cadenas de texto. Un valor no-cadena de texto manipulado, proporcionado desde una expresión de flujo de trabajo en el campo de cuerpo de texto o HTML, puede ser interpretado por la biblioteca de correo subyacente (Nodemailer) como una ruta de archivo o URL, permitiendo la divulgación arbitraria de archivos locales y falsificación de petición del lado del servidor (SSRF). La explotación requiere un flujo de trabajo activo preexistente con un webhook no autenticado, credenciales SMTP válidas configuradas en el nodo, y entrada no confiable mapeada directamente en el campo del cuerpo; esta no es una configuración predeterminada.","source":"nvd"}],"published":"2026-07-22T22:09:11.000Z","modified":"2026-10-29T21:16:38.939Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200","CWE-843","CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.67","status":"affected"},{"type":"semver","version":"1.123.67","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.32.0","fixed":"2.32.1","status":"affected"},{"type":"semver","version":"2.32.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.31.5","status":"affected"},{"type":"semver","version":"2.31.5","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.67"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.32.0","status":"affected","fixed":"2.32.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.31.5"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.67"},{"status":"affected","fixed":"1.123.67"},{"status":"affected","introduced":"2.0.0","fixed":"2.31.5"},{"status":"affected","introduced":"2.0.0","fixed":"2.31.5"},{"status":"affected","version":"2.32.0"},{"status":"affected","version":"2.32.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-2x35-3fw4-9jr4","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-arbitrary-file-read-via-send-email-node","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1","tags":["web"],"sources":["ghsa"]}],"credits":["simonkoeck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-14T19:50:38.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72766","url":"https://www.cve.org/CVERecord?id=CVE-2026-72766","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:38.939Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2x35-3fw4-9jr4","url":"https://github.com/advisories/GHSA-2x35-3fw4-9jr4","licence":"CC-BY-4.0","modified":"2026-08-12T04:26:14.244Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72766","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72766","licence":"Public domain","modified":"2026-10-29T20:17:34.393Z"}],"updatedAt":"2026-11-25T22:59:32.243Z","epss":{"score":0.0036,"percentile":0.31832,"date":"2026-12-01T12:00:22.000Z"}}