Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as workflow-editing user
-
DeliveryImport/create workflow with deprecated Function or LangChain Code node
-
ExploitEmbed JavaScript payload in node
-
ExecutionCode runs in n8n main process outside task runner
-
ImpactArbitrary code execution on n8n host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Component isolation
|
| Exploitation Conditions | Requires an authenticated n8n account with permission to create, modify, or import workflows (PR:L), plus the ability to add one of three specific deprecated/hidden node types: the Function node, the Function Item node, or the LangChain Code node (n8n-nodes-base.function, n8n-nodes-base.functionItem, @n8n/n8n-nodes-langchain.code). On vulnerable releases these nodes execute user code in the n8n main process rather than the isolated task runner. What limits exploitation: the attacker must already be authenticated with workflow-authoring rights, and the affected node types are deprecated and hidden. On patched versions (2.42.6, 2.43.3, 2.44.0, 3.0.1) saving or importing a workflow that adds or changes these nodes is rejected by default, so exploitation additionally requires that an operator has set N8N_DEPRECATED_NODES_BLOCK=false (which restores the vulnerable behavior) or is still running a pre-fix version; note that already-saved workflows containing these nodes continue to run unchanged even after patching. |
| Impact | This is a genuine, high-priority issue but not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) correctly captures that exploitation is network-reachable, low-complexity, and requires only low-privilege authentication (PR:L) - specifically an account that can create, modify, or import workflows. Impact is severe (VC:H/VI:H/VA:H) because code runs in the n8n main process, outside the task runner isolation that normally contains Code node execution, so a successful attacker gains full read/write/availability control of the n8n host. The vuln.today Decision label is this_week, consistent with a serious authenticated RCE that is not yet mass-exploited. No EPSS score and no KEV listing were provided, so there is no signal of widespread or confirmed active exploitation; absence of these is not itself evidence of safety. A public research write-up (abraxaslabs.tech, 'n8n-function-vm2') and a VulnCheck advisory are referenced, but the input does not mark any of them as confirmed working exploit code, so this should be treated as a public PoC reference rather than a verified exploit. The practical risk gate is the PR:L requirement: in deployments where many users (or SSO-federated/low-trust users) can author workflows, this is effectively a privilege-escalation-to-host primitive; in single-trusted-operator deployments the real-world risk is lower. |
| Exploit ScenarioDerived | An authenticated n8n user who has permission to create or edit workflows adds a deprecated Function, Function Item, or LangChain Code node and places attacker-controlled JavaScript in it. When the workflow runs, that code executes in the n8n main process rather than the isolated task runner, giving the attacker arbitrary code execution on the n8n server. A public PoC reference exists (abraxaslabs.tech research and the VulnCheck advisory); it is not verified as working exploit code in the supplied data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
n8n workflow automation instances older than 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 let an authenticated user with workflow-authoring rights escape the task runner isolation that normally constrains custom code. By creating, editing, or importing a workflow that names one of the deprecated hidden node types (Function, Function Item, or LangChain Code), that user can execute arbitrary JavaScript inside the n8n main process rather than in the sandboxed runner, giving full compromise of the application host process. Severity is high (CVSS 8.7, CWE-653) but exploitation requires a valid account plus workflow-authoring permission; no confirmed public exploit code has been identified at time of analysis, and vendor patches are available for all three branches, with the priority assessed as this week rather than an emergency.
RemediationAI
Vendor-released patch: upgrade to n8n 2.42.6, 2.43.3, 2.44.0, or 3.0.1 (or later on the respective branch), which mark the Function, Function Item, and LangChain Code nodes as deprecated and block them by default on save, import, and unsaved-workflow execution. Do not set N8N_DEPRECATED_NODES_BLOCK=false - that setting exists only to allow importing older backups and restores the vulnerable behavior, so if it is used temporarily, re-enable the block immediately afterward. Because already-saved workflows containing these nodes continue to run unchanged after the upgrade, review existing workflows and replace any Function, Function Item, or LangChain Code nodes with the Code node, which executes inside task runner isolation. If upgrading is not immediately possible, the vendor's temporary mitigations are to add n8n-nodes-base.function, n8n-nodes-base.functionItem, and @n8n/n8n-nodes-langchain.code to the NODES_EXCLUDE environment variable, which prevents those nodes from being used at the cost of breaking any existing workflows that depend on them, and to restrict workflow creation and editing permissions to fully trusted users, which reduces but does not eliminate the attack surface from users who already hold authoring rights. The vendor states these workarounds do not fully remediate the risk and should be treated as short-term measures only; see https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj for the full 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
The root cause is CWE-653, improper isolation or compartmentalization of resources. n8n's supported Code node executes user-supplied JavaScript inside an isolated task runner, but three legacy node types predate that architecture: n8n-nodes-base.function and n8n-nodes-base.functionItem, which run user code in a vm2 sandbox, and @n8n/n8n-nodes-langchain.code (the LangChain Code node), which runs user code directly in the n8n main process with no runner boundary at all. All three are deprecated and hidden from the node palette, so they are not reachable through normal UI discovery; the exposure comes from workflows that reference the node types explicitly by name, whether authored via API, imported as JSON, pulled from a URL or file, or executed as an inline sub-workflow. The vendor fix (commit ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb) adds a nodes.config.ts setting N8N_DEPRECATED_NODES_BLOCK defaulting to true, marks the affected node descriptions as deprecated, and introduces a DeprecatedNodesValidationService plus a DeprecatedNodesError response that rejects saving or importing a workflow which adds or changes a node of a deprecated type, and rejects inline sub-workflows, URL/file-loaded workflows, and single-node runs that contain one. Notably the validation service intentionally permits previously stored workflows to load and keep executing, so persistence of an already-saved malicious workflow survives the upgrade.
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-reachable workflow API with low-privilege authenticated workflow-edit rights (PR:L), no user interaction, yielding full code execution in the n8n process, so C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
n8n before 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 contains a remote code execution vulnerability via deprecated Function, Function Item, and LangChain Code nodes running outside task runner isolation. Authenticated users who can create, modify, or import workflows naming these hidden node types can execute JavaScript in the n8n main process.
Technical POC Analysis
CWE-653 (Improper Isolation or Compartmentalization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-119408 is a high-severity flaw in n8n workflow automation that lets users with workflow authoring rights break out of the intended sandbox and run code directly in the main application process, fully compromising the host. Leadership should care because our automation platform likely holds credentials and integrates with critical systems, so insider misuse or a compromised author account could lead to data exposure and service disruption across dependent business processes.
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
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-113792
GHSA-48fh-2c4x-8wcm
NVD
CVE.org
EPSS
VulDB
Exploit-DB