CVE-2026-86995

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductN8n
PublishedSep 8, 2026
First seenSep 8, 2026

How to fix

Update
  • n8n n8n1.123.76, 2.37.7, 2.38.2 or later
  • n8n1.123.76, 2.38.2, 2.37.7 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 1.123.76, 2.0.0 ≤ v < 2.37.7, 2.38.0 ≤ v < 2.38.21.123.76, 2.37.7, 2.38.2
n8nnpmv < 1.123.76, 2.38.0 ≤ v < 2.38.2, 2.0.0 ≤ v < 2.37.71.123.76, 2.38.2, 2.37.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.