Skip to main content

n8n CVE-2026-72766

| EUVDEUVD-2026-56145 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-08-11 VulnCheck GHSA-9x27-5f6j-72hw
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Discover public unauthenticated n8n webhook endpoint
  2. Delivery
    Identify workflow maps external input to Send Email body
  3. Exploit
    Craft non-string Nodemailer content object targeting local file or internal URL
  4. Install
    Submit payload via unauthenticated HTTP POST to webhook
  5. C2
    n8n passes uncoerced value to Send Email node
  6. Execute
    Nodemailer reads local file or issues internal HTTP request
  7. Impact
    Sensitive 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n8n 0 <1.123.67
n8n 0 <2.32.1
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 1.123.67, 2.31.5, 2.32.1

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 8.2

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular self-hosted workflow automation tool, not universally deployed
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy