Improper access control in n8n - #VU134571

 

Improper access control in n8n - #VU134571

Published: June 16, 2026


Vulnerability identifier: #VU134571
CSH Severity: Low
CVSS v4: 5.3 [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]
CVE-ID: N/A
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

n8n

Remediation

Install security update from vendor's website.

n8n - addressed in versions 2.25.7, 2.26.2

External References

Related Security Bulletins