---
id: CVE-2026-86995
title: n8n is an open source workflow automation platform
summary: >-
  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
  with…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-22
  - CWE-73
vendor: n8n
product: n8n
affected:
  - n8n < 1.123.76
  - 'n8n >= 2.0.0, < 2.37.7'
  - 'n8n >= 2.38.0, < 2.38.2'
patched:
  - n8n 2.38.2
published: '2026-09-08'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:57:05.830'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86995'
references:
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.00405
epssPercentile: 0.31949
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-09T13:26:52.941111Z'
scores:
  nvd: 4.3
  cna: 5.3
ingestedAt: '2026-09-08T22:12:31.039Z'
---

## Overview

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

- `n8n < 1.123.76`
- `n8n >= 2.0.0, < 2.37.7`
- `n8n >= 2.38.0, < 2.38.2`

## Remediation

Upgrade past the affected range:

- `n8n 2.38.2`
