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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | < 1.123.67, 2.32.0 – < 2.32.1, 2.0.0-rc.0 – < 2.31.5 | 1.123.67 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | < 1.123.67 | 1.123.67 | GHSA-2x35-3fw4-9jr4 |
| npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 | GHSA-2x35-3fw4-9jr4 |
| npm | n8n | >= 2.0.0-rc.0, < 2.31.5 | 2.31.5 | GHSA-2x35-3fw4-9jr4 |
Advisories 1
- WID-SEC-2026-2489 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
References
- GitHub Security Advisory (GHSA-2x35-3fw4-9jr4) vendor-advisory
- VulnCheck Advisory: n8n before 1.123.67 Arbitrary File Read via Send Email Node third-party-advisory