Improper access control in n8n - #VU134571

 

Improper access control in n8n - #VU134571

Published: June 16, 2026


Vulnerability identifier: #VU134571
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: n8n
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources