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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-09-08T21:17:38.773Z
- Modified: 2026-09-10T21:30:04.789Z
- Also known as: GHSA-qgpw-8g46-w95v
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: >= 2.38.0, < 2.38.2; >= 2.0.0, < 2.37.7; < 1.123.76
- n8n (npm): before 1.123.76; from 2.38.0 before 2.38.2; from 2.0.0 before 2.37.7
- n8n n8n: before 1.123.76; from 2.0.0 before 2.37.7; from 2.38.0 before 2.38.2

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v> (mitigation, vendor-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2026-86995> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-86995](https://www.cve.org/CVERecord?id=CVE-2026-86995), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-qgpw-8g46-w95v](https://github.com/advisories/GHSA-qgpw-8g46-w95v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-86995](https://nvd.nist.gov/vuln/detail/CVE-2026-86995), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-86995 · Whole record: https://cve.day/CVE-2026-86995.json · Rebuilt by cve.day 2026-11-25T22:59:37.605Z
