{"id":"CVE-2026-86995","published":"2026-09-08T21:17:38Z","modified":"2026-09-09T13:34:48Z","title":"n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Git node validated the repository parameter for fetch or pull, but setUpstream wrote a branch..remote value into repository configuration without validating it. A later fetch or pull resolved the remote from that configuration instead of the checked parameter. An authenticated workflow editor could therefore point Git at any local repository readable by the n8n process and receive its contents through packages/nodes-base/nodes/Git/GenericFunctions.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00405,"percentile":0.35637,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.13},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":[">= 2.38.0, < 2.38.2",">= 2.0.0, < 2.37.7","< 1.123.76"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-09T13:26:52.941111Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.76",">=2.38.0, <2.38.2",">=2.0.0, <2.37.7"],"patched":["1.123.76","2.38.2","2.37.7"],"from":["GHSA-qgpw-8g46-w95v"],"provenance":"source"}],"summary":{"text":"The Git node in n8n, the workflow automation platform, fails to validate the branch.<name>.remote value that its setUpstream operation writes into repository configuration, so a later fetch or pull uses that unchecked remote rather than the repository parameter it validated. An attacker who holds low-privileged authenticated access to create or edit workflows, requiring no user interaction, can point Git at any local repository the n8n process can read and retrieve its contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:42Z"},"euvd":{"id":"EUVD-2026-74268","exploited":false,"provenance":"source"}}