CVE-2026-72767
JSON

8.7high

n8n before 1.123.67 Remote Code Execution via Git node

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.60% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-rcv6-pvrj-4xcg

Description

n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a remote code execution vulnerability in the Git node. Authenticated users with rights to create and execute workflows can stage a crafted local repository that causes git to run hooks under default git security settings, executing arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected.

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.0.0 before 2.31.5, 2.32.0NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

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

What each source says

CVE List

n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a remote code execution vulnerability in the Git node. Authenticated users with rights to create and execute workflows can stage a crafted local repository that causes git to run hooks under default git security settings, executing arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected.

GitHub Advisory Database

Impact

Authenticated n8n users with rights to create and execute workflows could achieve code execution on the n8n host. Using the Git node, under the default git security settings, by staging a crafted local repository, an attacker could cause git to run hooks, executing arbitrary commands as the n8n process user.

Both self-hosted and cloud instances are affected where authenticated users can create and execute workflows using the Git node.

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.
  • Restrict network egress from the n8n instance to limit the impact of arbitrary code execution.

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

NVD (es)

n8n anterior a 1.123.67, 2.x anterior a 2.31.5, y 2.32.x anterior a 2.32.1 contienen una vulnerabilidad de ejecución remota de código en el nodo Git. Usuarios autenticados con derechos para crear y ejecutar flujos de trabajo pueden preparar un repositorio local manipulado que hace que git ejecute hooks bajo la configuración de seguridad predeterminada de git, ejecutando comandos arbitrarios como el usuario del proceso n8n. Tanto las instancias autoalojadas como las de la nube están afectadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72767 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-rcv6-pvrj-4xcg changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72767 changed 2026-10-29Public domain