Improper access control in n8n - #VU134571
Published: June 16, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in the Python Code node AST security validator when processing Python Code node workflows. A remote user can bypass the validator to access the task executor module namespace and disclose sensitive information.
Only instances with the Python Task Runner enabled are vulnerable. On self-hosted instances where N8N_BLOCK_RUNNER_ENV_ACCESS=false is set, environment variables accessible to the task runner process may be exposed.