CVE-2026-72766

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

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:enterprise:node.js:*:*

History

No history.

Information

Published : 2026-08-11 13:19

Updated : 2026-08-28 18:31


NVD link : CVE-2026-72766

Mitre link : CVE-2026-72766

CVE.ORG link : CVE-2026-72766


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')