n8n Vulnerable to Remote Code Execution via Expression Injection
Exploited in the wild, in CISA KEV since 11 Mar 2026 (due 25 Mar 2026), with 4 public exploits. No fixed version is recorded.
n8n is an open source workflow automation platform. Versions starting with 0.211.0 and prior to 1.120.4, 1.121.1, and 1.122.0 contain a critical Remote Code Execution (RCE) vulnerability in their workflow expression evaluation system. Under certain conditions, expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime. An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations. This issue has been fixed in versions 1.120.4, 1.121.1, and 1.122.0. Users are strongly advised to upgrade to a patched version, which introduces additional safeguards to restrict expression evaluation. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only; and/or deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully eliminate the risk and should only be used as short-term measures.
Briefing
Written from the sources below · deepseek-v4.1-flash
n8n workflow expression evaluation can execute arbitrary code in insufficiently isolated contexts in versions 0.211.0 through releases prior to 1.120.4, 1.121.1, and 1.122.0. Authenticated users configuring workflows may exploit this to run code with n8n process privileges.
Why it mattersCVSS 10.0, listed in CISA KEV with confirmed exploitation, public nuclei template, and 99% EPSS, so exposed instances face imminent risk.
ActionUpgrade to 1.120.4, 1.121.1, or 1.122.0; if not possible, restrict workflow editing to trusted users and harden deployment.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| n8n | n8n | ||
| n8n-io | =1.121.0, >=0.211.0 <1.120.4 |
Exploit evidence
4 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in n8n, strongest first
Embed
A live severity badge for an advisory, README or ticket