CVE-2026-86995

published 8 Sep 2026 · updated 9 Sep 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

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

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-86995 severity on Zeptric[![CVE-2026-86995](https://zeptric.io/badge/cve/CVE-2026-86995.svg)](https://zeptric.io/cve/CVE-2026-86995)