{"id":"CVE-2025-57749","published":"2025-08-20T21:46:39Z","modified":"2025-08-21T14:48:02Z","title":"n8n has a symlink traversal vulnerability in \"Read/Write File\" node allows access to restricted files","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is a workflow automation platform. Before 1.106.0, a symlink traversal vulnerability was discovered in the Read/Write File node in n8n. While the node attempts to restrict access to sensitive directories and files, it does not properly account for symbolic links (symlinks). An attacker with the ability to create symlinks—such as by using the Execute Command node—could exploit this to bypass the intended directory restrictions and read from or write to otherwise inaccessible paths. Users of n8n.cloud are not impacted. Affected users should update to version 1.106.0 or later.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00557,"percentile":0.47275,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-ggjm-f3g4-rwmm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/n8n-io/n8n/pull/17735","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.46},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.106.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-21T14:43:03.103677Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.106.0"],"patched":["1.106.0"],"from":["GHSA-ggjm-f3g4-rwmm"],"provenance":"source"}],"summary":{"text":"The n8n workflow automation platform contains a symlink traversal flaw in its Read/Write File node, which fails to account for symbolic links when enforcing its restrictions on sensitive directories and files. An attacker who is able to create symlinks, for example through the Execute Command node, can use them to bypass those restrictions and read from or write to paths that should be inaccessible.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:38Z"},"euvd":{"id":"EUVD-2025-25404","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-n8n-cve-2025-57749","children":[{"from":"CVE-2025-57749","to":"CVE-2026-21877","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/core/src/execution-engine/node-execution-context/utils/file-system-helper-functions.ts"],"commits":["https://github.com/n8n-io/n8n/commit/c2c3e08cdf33570d9051e659812cbfbdd3c077fd","https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6"],"basis":"rarely changed file"}]},{"from":"CVE-2025-57749","to":"CVE-2026-27498","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/core/src/execution-engine/node-execution-context/utils/file-system-helper-functions.ts"],"commits":["https://github.com/n8n-io/n8n/commit/c2c3e08cdf33570d9051e659812cbfbdd3c077fd","https://github.com/n8n-io/n8n/commit/97365caf253978ba8e46d7bc53fa7ac3b6f67b32","https://github.com/n8n-io/n8n/commit/e22acaab3dcb2004e5fe0bf9ef2db975bde61866"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-52478","published":"2025-08-19","fixed":"1.98.2","kev":false},{"cve":"CVE-2025-49595","published":"2025-07-03","fixed":"1.99.0","kev":false},{"cve":"CVE-2025-52554","published":"2025-07-03","fixed":"1.99.1","kev":false,"link":{"from":"CVE-2025-52554","to":"CVE-2025-57749","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.99.1","toFixed":"1.106.0","daysApart":48}]}},{"cve":"CVE-2025-57749","published":"2025-08-20","fixed":"1.106.0","kev":false},{"cve":"CVE-2025-58177","published":"2025-09-15","fixed":"1.107.0","kev":false,"link":{"from":"CVE-2025-57749","to":"CVE-2025-58177","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.106.0","toFixed":"1.107.0","daysApart":26}]}},{"cve":"CVE-2025-62726","published":"2025-10-30","fixed":"1.113.0","kev":false},{"cve":"CVE-2025-61914","published":"2025-12-26","fixed":"1.114.0","kev":false}],"package":"npm:n8n"}}