{"id":"CVE-2026-49465","published":"2026-06-23T15:49:46Z","modified":"2026-06-23T17:17:36Z","title":"n8n: Git Node Clone and Push Operations Bypass File Sandbox","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to 1.123.48, 2.21.8, and 2.22.4, an authenticated user with permission to create or modify workflows could supply a local filesystem path as the source repository in the Git node's Clone operation, or as the target repository in the Push operation, bypassing the N8N_RESTRICT_FILE_ACCESS_TO file sandbox. This allowed the contents of any local git repository accessible to the n8n process to be cloned into an allowed path and read, circumventing the access restrictions that correctly blocked direct file reads to the same paths. This vulnerability is fixed in 1.123.48, 2.21.8, and 2.22.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0054,"percentile":0.46375,"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-5xp3-2w67-427v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.28},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.48",">= 2.0.0-rc.0, < 2.21.8",">= 2.22.0, < 2.22.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T17:17:07.544428Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.48",">=2.22.0, <2.22.4",">=2.0.0-rc.0, <2.21.8"],"patched":["1.123.48","2.22.4","2.21.8"],"from":["GHSA-5xp3-2w67-427v"],"provenance":"source"}],"summary":{"text":"The n8n Git node's Clone and Push operations fail to enforce the N8N_RESTRICT_FILE_ACCESS_TO file sandbox when given a local filesystem path as the source or target repository, letting a workflow read the contents of local git repositories that the sandbox would otherwise block. An attacker who has low-privilege authenticated access with permission to create or modify workflows, and who needs no user interaction, can clone such a repository into an allowed path and read its contents, with high confidentiality impact and no effect on integrity or availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:31Z"},"euvd":{"id":"EUVD-2026-38480","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44792","published":"2026-06-23","fixed":"2.21.1","kev":false,"link":{"from":"CVE-2026-44792","to":"CVE-2026-49465","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.21.1","toFixed":"2.21.8","daysApart":0}]}},{"cve":"CVE-2026-44790","published":"2026-06-23","fixed":"2.22.1","kev":false,"link":{"from":"CVE-2026-44790","to":"CVE-2026-49465","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.22.1","toFixed":"2.22.4","daysApart":0}]}},{"cve":"CVE-2026-44791","published":"2026-06-23","fixed":"2.22.1","kev":false},{"cve":"CVE-2026-49444","published":"2026-06-23","fixed":"2.22.4","kev":false},{"cve":"CVE-2026-49465","published":"2026-06-23","fixed":"2.22.4","kev":false},{"cve":"CVE-2026-54303","published":"2026-06-23","fixed":"2.24.0","kev":false},{"cve":"CVE-2026-54312","published":"2026-06-23","fixed":"2.24.0","kev":false},{"cve":"CVE-2026-54313","published":"2026-06-23","fixed":"2.24.0","kev":false}],"package":"npm:n8n"}}