Code Injection in n8n - #VU146789
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper control of code generation in the legacy expression engine when processing expressions that tamper with the global JSON.stringify value and inject code into generated source. A remote user can supply a crafted expression to execute arbitrary code.
Only instances running the legacy expression engine are vulnerable. The default vm expression engine is not affected.