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.
Published: 2026-08-11
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from a type confusion flaw in the Send Email node of n8n. Because the node does not force message body fields to be strings, an attacker can inject a non‑string value that the mail library interprets as a file path or URL. This enables reading arbitrary local files and performing SSRF attacks. The weakness is a classic example of CWE‑843.

Affected Systems

Vulnerable releases include n8n 1.x versions earlier than 1.123.67, 2.x versions up to 2.31.4, and 2.32.x versions before 2.32.1. The affected vendor is n8n‑io and the product is n8n, deployed on Node.js environments.

Risk and Exploitability

The CVSS score of 8.2 marks the flaw as high severity, while the EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog. Exploitation requires an existing workflow that contains an unauthenticated webhook, the Send Email node configured with valid SMTP credentials, and untrusted input mapped directly into the body field. These conditions suggest that while the attack vector is limited, the impact and potential damage are significant for affected deployments.

Generated by OpenCVE AI on August 11, 2026 at 23:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n 1.123.67 or later, 2.31.5 or later, or 2.32.1 or later to eliminate the type confusion flaw.
  • Restrict or disable unauthenticated webhooks so that only authorized users can trigger workflows that contain the Send Email node.
  • Ensure that any user input mapped to the email body field is validated or sanitized to guarantee it is a string and not a file path or URL.

Generated by OpenCVE AI on August 11, 2026 at 23:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
CPEs 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:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Fri, 14 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title n8n before 1.123.67 Arbitrary File Read via Send Email Node
First Time appeared N8n
N8n n8n
Weaknesses CWE-843
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.2, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T19:50:46.835Z

Reserved: 2026-08-10T15:06:16.417Z

Link: CVE-2026-72766

cve-icon Vulnrichment

Updated: 2026-08-14T19:50:43.838Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-11T13:19:06.807

Modified: 2026-08-28T18:31:55.430

Link: CVE-2026-72766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:45:03Z

Weaknesses
  • CWE-843

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