Description

n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a remote code execution vulnerability in the Git node. The node reset a fixed list of command-bearing configuration keys before each operation, but that list did not cover the content-filter and merge-driver key families. A repository with local configuration setting one of those keys together with a matching attribute pattern causes git to execute the configured command during an ordinary Add, Commit, Checkout, or Pull operation. The command runs as the n8n process user.

Severity (CVSS)

Base score7.7
SeverityHigh
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected products

VendorProductVersions
n8n-ion8n0 to <1.123.73; 1.123.73
n8n-ion8n0 to <2.36.2; 2.36.2
n8n-ion8n0 to <2.35.4; 2.35.4

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 04 Sep 2026 07:42 UTC.