Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDiscover public unauthenticated n8n webhook endpoint
-
DeliveryIdentify workflow maps external input to Send Email body
-
ExploitCraft non-string Nodemailer content object targeting local file or internal URL
-
InstallSubmit payload via unauthenticated HTTP POST to webhook
-
C2n8n passes uncoerced value to Send Email node
-
ExecuteNodemailer reads local file or issues internal HTTP request
-
ImpactSensitive data exfiltrated via outgoing email to attacker address
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three specific, non-default prerequisites must all be simultaneously present. First, an active n8n workflow must have a webhook trigger node configured without authentication, meaning the webhook endpoint accepts HTTP requests from unauthenticated callers with no credential check. Second, that same workflow must include a Send Email node with valid SMTP credentials already configured by an administrator. Third, the workflow logic must map attacker-controlled input from the webhook request payload directly into the text or HTML body field of the Send Email node without applying string coercion or sanitization at the expression evaluation layer. The vendor explicitly states this is not a default n8n configuration. Exploitation is limited by: the necessity for an n8n administrator to have deliberately constructed such a workflow, the requirement that working SMTP credentials be pre-configured on the node, and the lack of any automatic input type enforcement prior to this fix. The PR:N in the CVSS vector reflects that the webhook caller does not authenticate to n8n - however, the vulnerable configuration must have been created by an authenticated administrator, meaning the attack surface is bounded by operational choices made at setup time. |
| Impact | The CVSS 4.0 score of 8.2 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N) reflects a genuine network-reachable, unauthenticated attack path with high confidentiality impact, but the AT:P modifier explicitly signals that exploitation depends on a non-default configuration; the raw score should not drive patch prioritization in isolation. EPSS data was not included in the provided intelligence feed and cannot be assessed here. The vulnerability does not appear in the CISA KEV catalog, and no public proof-of-concept code has been identified at time of analysis, both of which reduce the near-term automated exploitation risk relative to the CVSS score. Practical risk is concentrated in organizations running n8n as a public-facing integration platform with user-contributed or loosely governed workflows that expose unauthenticated webhooks with pre-configured SMTP credentials - organizations with network-restricted n8n deployments or strict workflow creation controls face substantially lower real-world exposure. The VC:H is well-supported by the arbitrary local file disclosure finding; SC:L correctly captures the lateral SSRF reach to adjacent internal services. CVSS signals are internally consistent and the vendor advisory does not contradict the vector. |
| Exploit ScenarioDerived | An attacker enumerates or discovers an n8n instance with a publicly accessible, unauthenticated webhook that triggers a workflow containing a Send Email node with SMTP credentials configured and untrusted HTTP body parameters mapped into the email body field. The attacker sends a crafted HTTP POST to the webhook URL with a payload containing a JavaScript-style object value specifying a sensitive local file path (such as /etc/passwd or an application secrets file) or an internal service URL instead of a string; n8n passes this unsanitized value to Nodemailer, which reads the referenced file or issues an internal HTTP request and includes the result in the outgoing email sent to the attacker-controlled address. No public proof-of-concept code has been identified at time of analysis, but the technique is conceptually straightforward for an attacker familiar with Nodemailer's content object model once a vulnerable workflow configuration is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Type confusion in the Send Email node of the n8n workflow automation platform allows an attacker-supplied non-string expression value to pass uncoerced into Nodemailer, which then interprets it as a file path or URL rather than literal email content - enabling arbitrary local file disclosure and server-side request forgery (SSRF). Affected are n8n versions before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1, as confirmed by GitHub Security Advisory GHSA-2x35-3fw4-9jr4. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; exploitation depends on a specific non-default workflow configuration that requires an unauthenticated webhook, pre-configured SMTP credentials, and direct mapping of untrusted input into the email body field.
RemediationAI
Upgrade n8n to version 1.123.67 or later (stable branch), 2.31.5 or later (2.x branch), or 2.32.1 or later (2.32.x branch), as confirmed by GitHub Security Advisory GHSA-2x35-3fw4-9jr4 and patch commit f69dfc6dd2178a14ea1624d2e1d403c2e755042f. The vendor advisory is at https://github.com/n8n-io/n8n/security/advisories/GHSA-2x35-3fw4-9jr4. If immediate upgrading is not possible, administrators should audit all active workflows containing Send Email nodes and identify any that map untrusted webhook or external data directly into the text or HTML body fields without string coercion, then disable or restructure those specific workflows - this removes the exploitable data path without requiring downtime. Restricting public webhook access at the network perimeter or reverse-proxy layer (e.g., requiring VPN or IP allowlisting) prevents unauthenticated external callers from triggering vulnerable workflows, though this does not address insider-threat or misconfigured internal-network scenarios. Limiting workflow creation and editing permissions to a small set of fully trusted users reduces the surface area for accidental introduction of vulnerable patterns. The vendor explicitly notes that none of these workarounds fully remediate the risk and they should only be used as short-term measures until patching is possible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-843 (Access of Resource Using Incompatible Type - type confusion), arising because the n8n Send Email node fails to enforce that workflow expression outputs bound to the text or HTML body fields are coerced to JavaScript strings before being forwarded to Nodemailer. Nodemailer's content object model accepts either a plain string for email body content or a structured object that can reference a file path or URL for attachment or inline content; by omitting string enforcement at the expression evaluation boundary, n8n inadvertently allows a crafted expression result to be treated as the latter form. This is a flaw in n8n's input handling layer, not in Nodemailer itself - Nodemailer is behaving as designed. The affected package is npm/n8n across three version branches (CPE: cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*), and the fix commit (f69dfc6dd2178a14ea1624d2e1d403c2e755042f) enforces string coercion before the value reaches the mail library.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AC:H reflects the mandatory non-default configuration prerequisite; S:C and C:H capture cross-system SSRF reach and full local file disclosure impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
n8n users deploying versions prior to 1.123.67, 2.31.5, or 2.32.1 face risk from a type confusion vulnerability (CVE-2026-72766, CVSS 8.2) enabling local file disclosure and server-side request forgery. While no public exploit has been identified at time of analysis, exploitation requires specific but potentially existing workflow configurations-unauthenticated webhooks with direct input mapping-making patching urgent for affected organizations. Successful attacks could expose credentials and configuration data, creating secondary risks including lateral movement and further system compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-56145
GHSA-9x27-5f6j-72hw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB