{"id":"CVE-2026-85168","state":"PUBLISHED","title":"n8n before 1.123.73 Remote Code Execution via Git Node","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.","publishedAt":"2026-09-03T11:22:17.960Z","updatedAt":"2026-10-29T21:16:59.616Z","severity":{"score":7.7,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["n8n-io n8n"],"affected":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.123.73","versionType":"semver"},{"version":"1.123.73","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.36.0","status":"affected","lessThan":"2.36.2","versionType":"semver"},{"version":"2.36.2","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.0.0-rc.0","status":"affected","lessThan":"2.35.4","versionType":"semver"},{"version":"2.35.4","status":"unaffected","versionType":"semver"}]}],"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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T23:12:04.845Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85168.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85168","state":"PUBLISHED","datePublished":"2026-09-03T11:22:17.960Z","dateUpdated":"2026-10-29T21:16:59.616Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-03T11:05:09.078Z"},"containers":{"cna":{"title":"n8n before 1.123.73 Remote Code Execution via Git Node","descriptions":[{"lang":"en","value":"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":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.123.73","versionType":"semver"},{"version":"1.123.73","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.36.0","status":"affected","lessThan":"2.36.2","versionType":"semver"},{"version":"2.36.2","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.0.0-rc.0","status":"affected","lessThan":"2.35.4","versionType":"semver"},{"version":"2.35.4","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-mwp5-2m32-r54h)"},{"url":"https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-git-node","name":"VulnCheck Advisory: n8n before 1.123.73 Remote Code Execution via Git Node","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-29T21:16:59.616Z"},"datePublic":"2026-08-19T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionEndExcluding":"1.123.73"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionEndExcluding":"2.36.2","versionStartIncluding":"2.36.0"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionEndExcluding":"2.35.4","versionStartIncluding":"2.0.0-rc.0"}]}]}],"credits":[{"lang":"en","value":"vonypeto","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-03T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-85168"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-04T03:55:57.228Z"}}]}}}