Path traversal in n8n - #VU131362
Published: May 13, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information and execute workflow-defined actions on downstream systems.
The vulnerability exists due to path traversal in the ExecuteWorkflow node localFile source option when handling REST API requests with user-supplied file paths. A remote user can supply an arbitrary file path to bypass file path restrictions to disclose sensitive information and execute workflow-defined actions on downstream systems.
The localFile source option is hidden from the UI but remains accessible through the REST API. Only files containing valid workflow JSON can be loaded and executed.