{"id":"GHSA-2vx9-7wpg-88jq","revision":"93984a5405df46759cb1c4a3eccdb6e9","records":[{"revision":"93984a5405df46759cb1c4a3eccdb6e9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2vx9-7wpg-88jq","aliases":["CVE-2026-56352"],"title":"n8n: Legacy ExecuteWorkflow Node Bypassed File Path Restrictions","description":"## Impact\nThe `ExecuteWorkflow` node's `localFile` source option read workflow files from disk without applying checks enforced by other file-reading nodes. An authenticated user with permission to create or modify workflows could supply an arbitrary file path via the REST API, bypassing the `N8N_RESTRICT_FILE_ACCESS_TO` restriction. This allowed the attacker to determine whether arbitrary files exist on the server host. Where the targeted path contained a valid workflow JSON file, the file could additionally be loaded and executed, potentially triggering actions on downstream systems connected to that workflow.\n\nThe `localFile` source option is hidden from the n8n UI since v1.2 but remains accessible via the REST API.\n\n## Patches\nThe issue has been fixed in n8n version 2.20.0 or 2.19.3. Users should upgrade to this version or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict workflow creation and editing permissions to fully trusted users only.\n- Restrict network access to the n8n REST API to trusted users only.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","state":0,"publishedAt":"2026-05-19T15:55:43+00:00","modifiedAt":"2026-07-16T03:56:43.1298244+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.19.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-2vx9-7wpg-88jq","https://github.com/n8n-io/n8n"],"sourceUrl":"https://github.com/advisories/GHSA-2vx9-7wpg-88jq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2vx9-7wpg-88jq","identifiers":["GHSA-2vx9-7wpg-88jq","CVE-2026-56352"]},"retained":false,"historicalAffected":[]}],"coverage":[]}