Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privilege account
-
DeliveryNavigate to workflow expression editor
-
ExploitCraft expression abusing array-element access
-
ExecutionObtain reference to host built-in in main process
-
PersistPollute built-in prototype across main process
-
ImpactCrash n8n instance causing denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
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 | The attacker must be authenticated to the n8n instance and must hold permissions to create or edit workflow expressions - this is the primary gating condition captured by PR:L and AT:P in the CVSS 4.0 vector. The VM expression engine must be in active use; if an alternative expression evaluation mode is deployed, the vulnerable code path is not reached. Both self-hosted and cloud-hosted n8n instances are affected when these conditions are met. Exploitation is bounded to denial of service - the CVSS 4.0 vector explicitly records VC:N (no confidentiality breach), so data exfiltration is not a demonstrated impact of this specific vulnerability. The privilege requirement (workflow editing access) and the lack of a public exploit meaningfully reduce the realistic attack population, particularly in enterprise deployments with role-based access controls that limit who can author or modify workflows. |
| Impact | The CVSS 4.0 base score of 6.1 with vector AV:N/AC:L/AT:P/PR:L/UI:N reflects a network-reachable, low-complexity attack that requires authenticated low-privileged access and a specific attack precondition (AT:P) - the attacker must hold workflow creation or editing permissions. The VI:H and VA:H components confirm high integrity and availability impact to the vulnerable system (the main n8n process), while VC:N and SC/SI/SA:N indicate no confidentiality breach and no lateral scope change beyond the n8n host process. There is no EPSS score provided in the input data, and the CVE is not in CISA KEV, so real-world exploitation is unconfirmed. No public proof-of-concept code has been identified at time of analysis. The primary realistic risk is insider threat or a compromised low-privilege account in a shared n8n deployment being used to take down the service for all users. In tightly controlled deployments where workflow editing is restricted to a small set of fully trusted operators, real-world risk is substantially lower than the raw CVSS metrics suggest. The AT:P modifier in CVSS 4.0 appropriately captures this: widespread automated exploitation is unlikely given the authentication and permission prerequisites. |
| Exploit ScenarioDerived | An authenticated n8n user with workflow editing rights creates a workflow containing a crafted expression that exploits the array-element access path in the VM expression engine to walk up to a host built-in object (such as Object or Array) living in the main n8n process. The attacker mutates that built-in's prototype with a poisoned property, which then propagates to every object in the process, causing unhandled errors or crashes that render the n8n instance unavailable to all users. No public proof-of-concept code has been identified, but prototype pollution sandbox-escape techniques against Node.js VM modules are well-documented in security research literature, reducing the required attacker skill level. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Prototype pollution in n8n's VM expression engine enables authenticated workflow editors to escape the sandbox and crash the main n8n process by obtaining a reference to a host built-in and corrupting its prototype. Affected versions span the entire 1.x branch prior to 1.123.67 and two 2.x patch lines (before 2.31.5 and 2.32.1), covering both self-hosted deployments and n8n cloud instances using the VM expression engine. No public exploit code has been identified at time of analysis and the CVE is not listed in CISA KEV, but the sandbox escape primitive is technically significant and poses meaningful risk in multi-tenant or loosely-governed deployments.
RemediationAI
Upgrade n8n to version 1.123.67 (1.x branch), 2.31.5 (2.x prior to 2.32.0), or 2.32.1 (2.32.x branch) - all three are confirmed fixed releases per the official GHSA-hx4h-vr3m-45vh advisory and the upstream commit at https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f. If immediate upgrade is not feasible, two partial mitigations are documented in the advisory: first, restrict n8n instance access exclusively to fully trusted users so that no untrusted party can create or edit workflow expressions - this reduces the insider threat surface but does not eliminate it; second, disable the VM expression engine if an alternative expression engine is available for the deployment, which removes the vulnerable code path entirely but may break existing workflows that rely on VM-evaluated expressions. Neither workaround fully remediates the vulnerability and both should be treated as short-term measures only. The VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-before-prototype-pollution-via-vm-expression-engine provides additional context.
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
n8n is a Node.js-based workflow automation platform (npm package n8n-io/n8n) that evaluates user-authored expressions inside a VM-based sandbox intended to isolate untrusted code from the host process. The vulnerability is rooted in CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'). JavaScript's prototype chain allows modifications to built-in object prototypes (e.g., Object.prototype) to propagate globally across all objects in the same process. The engine's array-element access path was insufficiently sanitized, allowing an attacker to traverse up the prototype chain and obtain a live reference to a host built-in that exists in the main n8n process rather than the sandboxed context. Mutating that built-in's prototype then escapes the sandbox boundary entirely. The CPE cpe:2.3:a:n8n-io:n8n applies across all version ranges flagged in the GHSA advisory. This class of bug is well-studied in JavaScript runtimes and commonly arises when object property access is not hardened against __proto__, constructor, or prototype key traversal.
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:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Scope changed because sandbox escape affects the main n8n host process; PR:L for required authenticated workflow-editor role; no confidentiality impact per advisory.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 1.123.67, 2.31.5, and 2.32.1 contains a prototype pollution vulnerability in the VM expression engine. An authenticated user able to create or edit a workflow expression can abuse the engine's array-element access to obtain a reference to a host built-in and pollute its prototype in the main n8n process (a sandbox escape), leading to a denial of service. Both self-hosted and cloud instances running the VM expression engine are affected.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-56095
GHSA-83p6-2p5w-42rc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB