CVE-2026-85168
7.7
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n8n-io | n8n | 0 < 1.123.73 | affected |
| n8n-io | n8n | 1.123.73 | unaffected |
| n8n-io | n8n | 0 < 2.36.2 | affected |
| n8n-io | n8n | 2.36.2 | unaffected |
| n8n-io | n8n | 0 < 2.35.4 | affected |
| n8n-io | n8n | 2.35.4 | unaffected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h
- https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.