Exposure of Sensitive System Information to an Unauthorized Control Sphere in n8n - CVE-2026-27494
Published: April 30, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code or disclose sensitive information.
The vulnerability exists due to insufficient restriction of built-in Python objects in the Python Code node sandbox when executing Python code in a workflow. A remote user can create or modify a workflow containing crafted Python code to execute arbitrary code or disclose sensitive information.
Task Runners must be enabled for exploitation. On instances using internal Task Runners, exploitation could result in full compromise of the n8n host. On instances using external Task Runners, exploitation might impact other tasks executed on the Task Runner.