Skip to main content

n8n CVE-2026-72765

| EUVDEUVD-2026-56144 HIGH
Code Injection (CWE-94)
2026-08-11 VulnCheck GHSA-32pm-g48p-fxhq
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to n8n with workflow editor account
  2. Delivery
    Open workflow editor and craft malicious expression using arrow-function body
  3. Exploit
    Save workflow containing sandbox-escape expression
  4. Execution
    Trigger workflow execution (manual or scheduled)
  5. Persist
    Expression evaluator processes arrow-function, bypassing sandbox boundary
  6. Impact
    Execute arbitrary OS commands on n8n host with server process privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two simultaneous conditions: an authenticated n8n session (CVSS PR:L confirms authentication is mandatory) and explicit permission to create or modify workflows within that session - read-only users or accounts without workflow editor rights cannot trigger the vulnerable code path. No additional non-default configuration is required beyond having an account with those permissions; the vulnerability exists in the core expression evaluator used by all n8n workflow instances. The attack is network-delivered (AV:N), requires no elevated privileges beyond workflow editor access, and involves no additional user interaction (UI:N). What limits exploitation is the workflow-editor permission gate: in single-user self-hosted deployments or environments where only administrators have workflow access, the practical risk is lower. In team deployments, SaaS-style instances, or any environment where multiple users hold workflow editor permissions, every such user is a potential attacker.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H indicates a high-severity, low-friction exploit path: network-accessible, no attack complexity, no targeted configuration required, and full impact on the vulnerable system. The primary constraint is PR:L - exploitation is gated behind a valid n8n account with workflow editor permissions, which materially reduces the exploitable population compared to an unauthenticated flaw. In tightly administered single-user or small-team deployments, that gating significantly limits real-world risk; in shared or multi-tenant instances where workflow permissions are broadly granted, the threat surface is substantially larger. No EPSS score was provided in the available data, and the vulnerability does not appear in the CISA KEV catalog, so active exploitation cannot be confirmed. No public POC code has been identified at time of analysis. VulnCheck's reporting and the vendor's own GHSA advisory agree on the severity, and the existence of two fixed branches (2.31.5 and 2.32.1) suggests this affected code persisted across a patch cycle. The absence of KEV listing and POC should not induce complacency given the straightforward exploitation conditions for any user with workflow access.

Exploit ScenarioDerived

An attacker with a low-privilege n8n account that includes workflow creation or editing rights composes a workflow node containing a JavaScript expression that uses an arrow-function body to escape the expression sandbox and invoke a Node.js child process spawner. When the workflow executes - either manually or on a trigger - n8n evaluates the expression, and the sandboxed boundary is bypassed, running arbitrary OS commands under the n8n server process identity, potentially enabling data exfiltration, reverse shell establishment, or lateral movement to other services co-located on the host.

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

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Expression sandbox escape in n8n's workflow engine allows any authenticated user with workflow creation or modification permissions to execute arbitrary operating system commands on the host running n8n. The flaw, classified as CWE-94 code injection, affects all npm releases of n8n-io/n8n prior to version 2.31.5 and all 2.32.x releases prior to 2.32.1. No public exploit has been identified at time of analysis, but the CVSS 4.0 score of 8.7 and the full confidentiality, integrity, and availability impact ratings reflect a genuine high-severity remote code execution primitive for any n8n deployment where workflow editing rights are not tightly controlled.

RemediationAI

Upgrade to n8n 2.31.5 if on the stable branch, or to 2.32.1 if on the 2.32.x branch; these are the two vendor-confirmed fixed versions per GHSA-gv7g-jm28-cr3m and the upstream fix commit f69dfc6dd2178a14ea1624d2e1d403c2e755042f. If immediate upgrade is not possible, the vendor advisory identifies two compensating controls: restrict the n8n instance to fully trusted users at the network or authentication layer (removing access for any untrusted principals), and remove or restrict workflow creation and editing permissions to only the minimum set of trusted users required. The advisory explicitly states that neither workaround fully remediates the risk and both should be treated as short-term measures only. Administrators of shared or multi-user n8n instances should treat this as urgent given that the exploit requires only a workflow-editor role, not an administrator account.

Affected VersionsENISA

n8n 0 <2.31.5
n8n 0 <2.32.1

Affected Packages

npm n8n fix: 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

n8n is an open-source, self-hostable workflow automation platform distributed via npm as n8n-io/n8n (CPE: cpe:2.3:a:n8n-io:n8n). Workflows in n8n can include dynamic expressions evaluated at runtime by an internal JavaScript sandbox engine, which is designed to prevent expression authors from accessing the underlying Node.js runtime or host OS. The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection): the sandbox implementation fails to properly police JavaScript arrow-function body syntax, which provides a code path that bypasses the sandboxing boundary and reaches the Node.js process directly. Because n8n's server process runs with OS-level privileges on the host, successful sandbox escape translates directly into arbitrary system command execution, making this a full server-side RCE primitive reachable through the expression evaluator within any workflow a user is permitted to create or edit.

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.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Sandbox escape crosses a defined security boundary into the host OS (S:C); PR:L reflects mandatory workflow-editor authentication; full C/I/A from arbitrary command execution.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
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.7

DescriptionCVE.org

n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.

Executive ViewAI

Why It Matters

A code injection vulnerability in n8n workflow automation engine (CVE-2026-72765, CVSS 8.7) enables authenticated users with workflow editing permissions to execute arbitrary operating system commands, creating risk of complete system compromise; no public exploit identified at time of analysis. Organizations running n8n versions prior to 2.31.5 (or 2.32.1 for 2.32.x branch) require urgent patching.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to version 2.31.5 or 2.32.1 as applicable). Until patched: restrict workflow creation and modification to trusted administrators only; implement network segmentation to contain potential compromise; enable comprehensive audit logging of all workflow modifications and system command execution attempts; consider disabling workflow engine on sensitive systems pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source workflow automation tool with growing but non-ubiquitous adoption
Data Quality
7 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.4%
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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