n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution
Critical severity
GitHub Reviewed
Published
Jan 27, 2026
to the GitHub Advisory Database
•
Updated Jan 29, 2026
Package
Affected versions
< 1.123.17
>= 2.0.0, < 2.4.5
>= 2.5.0, < 2.5.1
Patched versions
1.123.17
2.4.5
2.5.1
Description
Published by the National Vulnerability Database
Jan 27, 2026
Published to the GitHub Advisory Database
Jan 27, 2026
Last updated
Jan 29, 2026
Reviewed
Jan 29, 2026
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.
References