Vulnerability · Published Sep 8, 2026 · Assigned by GitHub_M

CVE-2026-86995n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read

Medium 5.3

In plain English

A medium-severity path traversal in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 65.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n1.123.76GHSA-qgpw-8g46-w95v
npmn8n2.38.2GHSA-qgpw-8g46-w95v
npmn8n2.37.7GHSA-qgpw-8g46-w95v

Affected products (as reported)

VendorProductVersions
n8n-io n8n >= 2.38.0, < 2.38.2>= 2.0.0, < 2.37.7< 1.123.76

Weakness: CWE-73, CWE-22 · 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

References