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 score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS: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 by | CNA |
Weaknesses
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n8n-io | n8n | 0 to <1.123.73; 1.123.73 |
| n8n-io | n8n | 0 to <2.36.2; 2.36.2 |
| n8n-io | n8n | 0 to <2.35.4; 2.35.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h (vendor-advisory)
- https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node (third-party-advisory)
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.