{"id":"CVE-2026-85168","revision":"bc914ec2b56047c8a1cda546b6329273","records":[{"revision":"bc914ec2b56047c8a1cda546b6329273","observedAt":"2026-10-29T21:48:56.968+00:00","statement":{"source":"cve-program","id":"CVE-2026-85168","aliases":[],"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.","state":0,"publishedAt":"2026-09-03T11:22:17.96+00:00","modifiedAt":"2026-10-29T20:20:19.063+00:00","affected":[{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.123.73\"\n                        },\n                        {\n                            \"version\": \"1.123.73\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.36.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.36.2\"\n                        },\n                        {\n                            \"version\": \"2.36.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.0.0-rc.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.35.4\"\n                        },\n                        {\n                            \"version\": \"2.35.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":7.7,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-85168","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-85168","identifiers":["CVE-2026-85168"]},"retained":false,"historicalAffected":[]}],"coverage":[]}