RCE in N8n
CVE-2026-85168
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (56.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.008 · change: +0.004
Affected products
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h (vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-85168?
- CVE-2026-85168 is a high-severity vulnerability in N8n, classified under OS Command Injection. CVSS score: 8.8/10. Published 2026-09-03.
- How severe is CVE-2026-85168?
- High severity. CVSS v3 base score is 8.8 out of 10.