Authenticated users can bypass the Expression sandbox mechanism to achieve full remote code execution on n8n’s main node.
n8n contains a critical Remote Code Execution (RCE) vulnerability in its workflow Expression evaluation system. 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.17
- >= 2.0.0, < 2.4.5
- >= 2.5.0, < 2.5.1
Fixed in 1.123.17, 2.4.5, 2.5.1
Mitigation
Upgrade the affected product to 1.123.17 or 2.4.5 or 2.5.1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.