Improper access control in n8n - CVE-2026-85169
Published: August 19, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper access control in the $fromAI expression resolver when processing caller-supplied placeholder names against primitive input values. A remote user can supply a crafted expression that accesses a host prototype reference and reaches the Function constructor to execute arbitrary code.
Exploitation requires workflow-build privilege alone and results in code execution in the main n8n process.