n8n
Affected
- introduced
0.211.0, fixed1.120.4(semver)
Fixed versions
1.120.4
Fix
- Fixed version
1.120.4npm install [email protected]
Advisory
Also known as: CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
Impact
n8n contains a critical Remote Code Execution (RCE) vulnerability in its 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.
Patches
This issue has been fixed in n8n v1.122.0.
Users are strongly advised to upgrade to version 1.122.0 or later, which introduces additional safeguards to restrict expression evaluation.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
These workarounds do not fully eliminate the risk and should only be used as short-term measures.
Critical Basis: The source's own band: CRITICAL
0.211.0, fixed 1.120.4 (semver)1.120.4
1.120.4npm install [email protected]1.121.0, fixed 1.121.1 (semver)1.121.1
1.121.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0