8.2high
n8n before 1.123.67 Arbitrary File Read via Send Email Node
- Severity
- 8.2high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-2x35-3fw4-9jr4
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 Not affected: 1.123.67, 2.32.1, 2.31.5 | CVE List |
| n8n (npm) | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 | GitHub Advisory Database |
| n8n n8n | before 1.123.67, from 2.0.0 before 2.31.5, 2.32.0 | NVD |
All scores
| VulnCheck | 8.2high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
The 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.
Exploitation 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.
Patches
The 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.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- 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.
- Restrict public webhook access at the network or reverse-proxy level to prevent unauthenticated callers from reaching sensitive workflows.
- Restrict workflow creation and editing permissions to fully trusted users only.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72766 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2x35-3fw4-9jr4 changed 2026-08-12 | CC-BY-4.0 |
| NVD | CVE-2026-72766 changed 2026-10-29 | Public domain |