CVE-2026-86995
MEDIUM 5.3CVSS 4.0n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read
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.
- Published
- 8 Sep 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-qgpw-8g46-w95v
- Sources
- NVDJSONOSV GHSA-qgpw-8g46-w95vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 1.123.76 | 1.123.76 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.37.7 | 2.37.7 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.38.0, < 2.38.2 | 2.38.2 |
| OSV | npm | n8n | < 1.123.76 | 1.123.76 |
| OSV | npm | n8n | >= 2.38.0, < 2.38.2 | 2.38.2 |
| OSV | npm | n8n | >= 2.0.0, < 2.37.7 | 2.37.7 |
References
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 · Release Notes, WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 · Release Notes, WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 · Release Notes, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-86995 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 8 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2026)