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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 1.123.76 | GHSA-qgpw-8g46-w95v |
| npm | n8n | 2.38.2 | GHSA-qgpw-8g46-w95v |
| npm | n8n | 2.37.7 | GHSA-qgpw-8g46-w95v |
Affected products (as reported)
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
- https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v x_refsource_CONFIRM
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 x_refsource_MISC