Path Traversal in N8n

CVE-2026-86995

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS: 0.004 (33.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 33.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-86995: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

  • N8n
  • N8n-Io N8n — versions < 1.123.76, >= 2.0.0, < 2.37.7, >= 2.38.0, < 2.38.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-86995?
CVE-2026-86995 is a medium-severity vulnerability in N8n, classified under Path Traversal. CVSS score: 4.3/10. Published 2026-09-08.
How severe is CVE-2026-86995?
Medium severity. CVSS v3 base score is 4.3 out of 10.