CVE-2026-72770
JSON

7.1high

n8n before 1.123.67 Path Traversal via Git Node Operations

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-gf29-4f56-r2jf

Description

n8n versions before 1.123.67 contain a path traversal vulnerability in the Git node's fetch, pull, and push-tags operations that allows authenticated users to bypass repository-path containment checks. Attackers with workflow create/execute rights can point allowlisted remote configurations at local paths outside the sandbox to pull arbitrary git repositories and read their files and history.

Affected

Product or packageVersionsReported by
n8n-io n8nbefore 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5
Not affected: 1.123.67, 2.32.1, 2.31.5
CVE List
n8n (npm)before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5GitHub Advisory Database
n8n n8nbefore 1.123.67, from 2.31.0 before 2.31.5, from 2.32.0 before 2.32.1NVD

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

n8n versions before 1.123.67 contain a path traversal vulnerability in the Git node's fetch, pull, and push-tags operations that allows authenticated users to bypass repository-path containment checks. Attackers with workflow create/execute rights can point allowlisted remote configurations at local paths outside the sandbox to pull arbitrary git repositories and read their files and history.

GitHub Advisory Database

Impact

Authenticated n8n users with workflow create/execute rights could use the Git node's fetch, pull, or push-tags operations to bypass the repository-path containment checks that already protected clone and push. By pointing an allowlisted remote configuration value at a local path outside the intended sandbox, an attacker could pull an arbitrary local git repository into the workspace and subsequently read its files and history.

Patches

The issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Disable the Git node by adding n8n-nodes-base.git to the NODES_EXCLUDE environment variable.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

Las versiones de n8n anteriores a la 1.123.67 contienen una vulnerabilidad de salto de ruta en las operaciones de fetch, pull y push-tags del nodo Git que permite a los usuarios autenticados eludir las comprobaciones de contención de rutas de repositorio. Los atacantes con derechos de creación/ejecución de flujos de trabajo pueden apuntar configuraciones remotas en lista blanca a rutas locales fuera del sandbox para extraer repositorios git arbitrarios y leer sus archivos e historial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72770 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-gf29-4f56-r2jf changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72770 changed 2026-10-29Public domain