{"id":"CVE-2026-25055","published":"2026-02-04T16:47:47Z","modified":"2026-02-05T14:33:32Z","title":"n8n Arbitrary File Write on Remote Systems via SSH Node","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to versions 1.123.12 and 2.4.0, when workflows process uploaded files and transfer them to remote servers via the SSH node without validating their metadata the vulnerability can lead to files being written to unintended locations on those remote systems potentially leading to remote code execution on those systems. As a prerequisites an unauthenticated attacker needs knowledge of such workflows existing and the endpoints for file uploads need to be unauthenticated. This issue has been patched in versions 1.123.12 and 2.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01159,"percentile":0.66902,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-m82q-59gv-mcr9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":13.38},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.12","< 2.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-05T14:20:20.248981Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":[">=2.0.0, <2.4.0","<1.123.12"],"patched":["2.4.0","1.123.12"],"from":["GHSA-m82q-59gv-mcr9"],"provenance":"source"}],"summary":{"text":"A path traversal flaw (CWE-22) in n8n's SSH node means that workflows which process uploaded files and transfer them to remote servers do not validate the files' metadata before writing them. Exploitation requires network access and no authentication or user interaction, but only where such a workflow exists and its file-upload endpoint is unauthenticated, letting an attacker write files to unintended locations on the remote systems and potentially achieve remote code execution there.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:34Z"},"euvd":{"id":"EUVD-2026-5416","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-n8n-cve-2025-52478","parents":[{"from":"CVE-2025-58177","to":"CVE-2026-25055","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/workflow/src/index.ts"],"commits":["https://github.com/n8n-io/n8n/commit/d4ef191be0b39b65efa68559a3b8d5dad2e102b2","https://github.com/n8n-io/n8n/commit/528ad6b982d0519ec170e172f57b7fdbbe175230","https://github.com/n8n-io/n8n/commit/e0baf48c6a54808f6dbca8cb352bfa306092c223"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-27498","published":"2026-02-25","fixed":"2.2.0","kev":false},{"cve":"CVE-2026-25054","published":"2026-02-04","fixed":"2.2.1","kev":false},{"cve":"CVE-2026-21894","published":"2026-01-08","fixed":"2.2.2","kev":false},{"cve":"CVE-2026-25055","published":"2026-02-04","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-25056","published":"2026-02-04","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-33665","published":"2026-03-25","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-56351","published":"2026-06-24","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-25053","published":"2026-02-04","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2026-25053","to":"CVE-2026-25055","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.123.10","toFixed":"1.123.12","daysApart":0}]}},{"cve":"CVE-2026-56357","published":"2026-06-22","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2026-25055","to":"CVE-2026-56357","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.123.12","toFixed":"1.123.15","daysApart":138}]}}],"package":"npm:n8n"}}