Code Injection in n8n - CVE-2026-42234
Published: April 23, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on the task runner container.
The vulnerability exists due to improper control of code generation in the Python Code Node when creating or modifying workflows containing Python code. A remote user can craft a malicious workflow to execute arbitrary code on the task runner container.
This issue only affects instances where the Python Task Runner is enabled.