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.
References
| Link | Resource |
|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h | Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
16 Sep 2026, 21:41
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h - Mitigation, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node - Third Party Advisory | |
| CPE | cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* | |
| First Time |
N8n
N8n n8n |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
Information
Published : 2026-09-03 13:06
Updated : 2026-09-16 21:41
NVD link : CVE-2026-85168
Mitre link : CVE-2026-85168
CVE.ORG link : CVE-2026-85168
JSON object : View
Products Affected
n8n
- n8n
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
