Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as global:member
-
DeliveryCraft node type string with path-traversal sequences
-
ExploitSubmit workflow invoking MCP node-schema loader
-
ExecutionLoader constructs traversal path outside schema directory
-
PersistLoad target file as Node.js module
-
ImpactExecute arbitrary code in n8n main process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an active authenticated session with global:member privileges on the target n8n instance - the lowest non-anonymous membership role. The attacker must be able to submit or modify workflows that invoke the MCP node-schema loader with a controlled node type string. The traversal payload must resolve to a file readable by the n8n server process that can be interpreted as a valid Node.js module; an attacker without a secondary file-write capability is limited to targeting files already present on the server (e.g., existing JavaScript files in node_modules or writable directories). The vulnerability is not exploitable without authentication. Deployments that restrict global:member access to vetted internal users, or that operate n8n in a heavily sandboxed container with minimal filesystem exposure, face meaningfully reduced risk. Cloud-managed n8n instances with vendor-controlled infrastructure may have additional isolation that limits exploitability, though this is not confirmed by available data. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately characterizes the threat: network-reachable, low complexity, requiring only a standard authenticated membership role, with full confidentiality, integrity, and availability impact on the n8n process. The low attack complexity is particularly significant - path traversal payloads are well understood and require minimal technical sophistication to construct once the advisory is public. The principal risk-limiting factor is the global:member authentication prerequisite, which narrows the attacker pool to credentialed platform users; organizations with strict n8n user provisioning are meaningfully less exposed than those with open registration or broad team membership. EPSS data was not provided in the input, so a numerical exploitation probability cannot be stated. The vulnerability is not currently listed in the CISA KEV catalog, and no public proof-of-concept code has been identified in the available intelligence. However, the simplicity of the vulnerability class and the availability of the vendor security advisory means exploit development is accessible, and even a small organization running a self-hosted n8n instance should treat this as urgent given the RCE-on-authenticated-user profile. |
| Exploit ScenarioDerived | An attacker who holds a global:member account on a self-hosted n8n instance constructs a workflow node with a crafted node type string (e.g., '../../../../tmp/payload') referencing a JavaScript file previously written to the server via another vector, such as a file upload feature or pre-existing filesystem write access. When n8n's MCP node-schema loader processes the workflow, it resolves the traversal path outside the schema base directory and loads the attacker's file as a Node.js module, executing arbitrary code with the privileges of the n8n server process. No public proof-of-concept has been identified, but path traversal exploitation in Node.js dynamic module loading is a well-documented technique requiring minimal expertise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Remote code execution in n8n workflow automation platform (versions before 2.33.4 and 2.34.x before 2.34.1) arises from a path traversal flaw in the @n8n/workflow-sdk MCP node-schema loader. An authenticated user holding global:member privileges can supply a crafted node type string containing path-traversal sequences, causing the loader to resolve and execute an arbitrary file on the server filesystem as a Node.js module within the n8n main process. No public exploit has been identified at time of analysis and the vulnerability is not in the CISA KEV catalog, but the low privilege requirement and straightforward exploitability make this a high-priority patch for all self-hosted n8n deployments.
RemediationAI
Upgrade n8n to version 2.33.4 (stable branch) or 2.34.1 (2.34.x branch), which are the confirmed fixed releases per the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-6h4x-896x-fw5m. If immediate upgrade is not possible, restrict the global:member role to fully trusted internal users only, as exploitation requires authentication at this privilege level - revoking or suspending untrusted member accounts removes the exploitable attack surface. As a deeper compensating control, run the n8n process inside a container with a read-only root filesystem and tightly scoped volume mounts, so that path traversal can only reach files within sanctioned directories rather than arbitrary server files; note this does not eliminate the vulnerability and may cause operational issues with n8n's normal file access patterns. The VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-path-traversal may provide additional mitigation guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is a Node.js-based workflow automation platform identified by CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*. The vulnerable component is the @n8n/workflow-sdk package's node-schema loader, used to dynamically resolve and load schema module files for MCP (Model Context Protocol) nodes. The loader constructs a filesystem path from a base schema directory concatenated with a caller-supplied node type string, without normalizing or validating path-traversal sequences such as '../'. This is a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw: untrusted input reaches a path-construction operation without an allowlist or canonical-path check. When the constructed path is passed to Node.js dynamic module loading (require() or equivalent), the runtime executes any JavaScript file reachable via traversal from the schema base directory, granting full code execution in the n8n server process.
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:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-accessible with low complexity; PR:L because global:member authentication is required; S:U as impact is confined to the n8n application process without scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 2.33.4 and 2.34.x before 2.34.1 contain a remote code execution vulnerability in the @n8n/workflow-sdk node-schema loader used for MCP node-schema loading. The loader derives a node's schema module path directly from the attacker-supplied node type string without validating path-traversal sequences. An authenticated user with global:member privileges can reference malicious files via path traversal, causing code execution in the n8n main process.
Executive ViewAI
Remote code execution vulnerability in self-hosted n8n workflow automation platform affects versions before 2.33.4 and 2.34.x before 2.34.1, allowing any authenticated user with global:member privileges to execute arbitrary code on servers with CVSS 8.7 severity; no public exploit identified at time of analysis. Organizations with vulnerable n8n instances face immediate risk of full system compromise via low-privilege account exploitation. The straightforward attack vector and low authentication requirement make urgent patching critical for all self-hosted n8n deployments.
Apply vendor patch (versions 2.33.4 and 2.34.1 or later). Pending full deployment, restrict n8n network access to corporate IP ranges only, disable public internet exposure, limit authenticated user accounts to administrative staff, and implement detailed logging and alerting on workflow execution and module loading activity.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-63257
GHSA-h5rm-9fhh-5phj
NVD
CVE.org
EPSS
Exploit-DB