{"id":"CVE-2026-85168","title":"n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a remote code execution vulnerability in the Git node","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 cont…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-78"],"vendor":"n8n","product":"n8n","affected":["n8n < 1.123.73","n8n >= 2.0.0, < 2.35.4","n8n >= 2.36.0, < 2.36.2"],"patched":["n8n 2.36.2"],"published":"2026-09-03","updated":"2026-09-16","sourceUpdated":"2026-09-16T21:41:59.993","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-85168","references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.00459,"epssPercentile":0.38981,"ingestedAt":"2026-09-08T21:11:12.290Z","slug":"CVE-2026-85168","body":"## Overview\n\nn8n 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.\n\n## Affected\n\n- `n8n < 1.123.73`\n- `n8n >= 2.0.0, < 2.35.4`\n- `n8n >= 2.36.0, < 2.36.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `n8n 2.36.2`","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":205797,"id":"CVE-2026-85168","ts":1789596445470,"field":"cvss","old":null,"new":"8.8"},{"seq":205796,"id":"CVE-2026-85168","ts":1789596445470,"field":"severity","old":"none","new":"high"}]}