CVE-2026-56352 n8n - Arbitrary File Read and Execution via ExecuteWorkflow localFile Parameter
Authenticated users can bypass file access restrictions to read arbitrary files and execute workflow JSON files via the ExecuteWorkflow node.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56352?
CVE-2026-56352 is a medium-severity path traversal vulnerability in n8n, published on 15 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
n8n before 2.19.3 contains a file path restriction bypass in the legacy ExecuteWorkflow node's localFile source option, which reads workflow files from disk without the file-access checks enforced by other file-reading nodes. Although hidden from the UI since v1.2, it remains reachable via the REST API. An authenticated user with permission to create or modify workflows can supply an arbitrary file path to bypass the N8N_RESTRICT_FILE_ACCESS_TO restriction and determine whether arbitrary files exist on the host; where the targeted path contains a valid workflow JSON file, that file can additionally be loaded and executed.
Weakness: CWE-22
Which versions are affected by CVE-2026-56352?
2 open source packages ship an affected version, including n8n.
| Package | Affected | Fixed in |
|---|---|---|
n8n npm | All versions | 2.19.3 |
n8n npm | All versions | 2.19.3 |
How do I fix CVE-2026-56352?
Upgrade n8n to 2.19.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-56352 being exploited?
There is no known exploitation of CVE-2026-56352 in the wild and no public exploit code.
Sources
Also known as GHSA-2vx9-7wpg-88jq, GHSA-w243-4jxf-88rr, ROOT-APP-NPM-GHSA-2vx9-7wpg-88jq.