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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
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
n8n workflow automation platform Community Edition contains an authorization bypass vulnerability allowing authenticated
The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-56144
GHSA-32pm-g48p-fxhq