Improper privilege management in n8n - #VU140997
Published: August 5, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper access control in the JavaScript task runner sandbox when executing user-supplied Code node JavaScript. A remote user can pollute the EventEmitter prototype to execute arbitrary code.
In shared runner deployments, the polluted prototype persists across subsequent Code node executions scheduled on the same runner and can affect other tenants, but not the host.