n8n is vulnerable to Remote Code Execution via Expression Injection
99
Critical Risk
Affected versions of n8n are vulnerable to remote code execution due to expression injection in the workflow expression evaluation system, where expressions provided by authenticated users during workflow configuration may be evaluated in an insufficiently isolated execution context, allowing an attacker to execute arbitrary code with the privileges of the n8n process and potentially fully compromise the instance, access sensitive data, modify workflows, or perform system-level operations; this issue is fixed in n8n v1.122.0, and users should upgrade immediately, while temporary mitigations include restricting workflow creation and editing to fully trusted users and running n8n in a hardened environment, noting that these measures do not fully eliminate the risk.
You are affected if you are using a version that falls within the vulnerable range.
n8n is vulnerable to Remote Code Execution via Expression Injection in versions 0.211.0 - 1.120.3 and 1.121.0 - 1.121.0.
Upgrade the n8n library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant