{"id":"CVE-2025-65964","revision":null,"records":[{"revision":"a405d460f129444483fafaa694f60d93","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-65964","aliases":[],"title":"n8n Vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook","description":"n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git configuration values, including core.hooksPath, which can point to a malicious Git hook that executes arbitrary commands on the n8n host during subsequent Git operations. Exploitation requires the ability to create or modify an n8n workflow using the Git node. This issue is fixed in version 1.119.2. Workarounds include excluding the Git Node (Docs) and avoiding cloning or interacting with untrusted repositories using the Git Node.","state":0,"publishedAt":"2025-12-08T23:35:02.481+00:00","modifiedAt":"2025-12-09T16:04:14.528+00:00","affected":[{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.123.1, < 1.119.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4,"severity":"CRITICAL"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq","https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04","https://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2","https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-65964","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-65964","identifiers":["CVE-2025-65964"]},"retained":false,"historicalAffected":[]},{"revision":"59c50b04f6bc4bfa9e76afe7e656a203","observedAt":"2026-11-09T04:08:33.63+00:00","statement":{"source":"euvd","id":"EUVD-2025-201815","aliases":["CVE-2025-65964","GHSA-wpqc-h9wp-chmq"],"title":"n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git conf…","description":"n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git configuration values, including core.hooksPath, which can point to a malicious Git hook that executes arbitrary commands on the n8n host during subsequent Git operations. Exploitation requires the ability to create or modify an n8n workflow using the Git node. This issue is fixed in version 1.119.2. Workarounds include excluding the Git Node (Docs) and avoiding cloning or interacting with untrusted repositories using the Git Node.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4,"severity":null}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq","https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04","https://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2","https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-201815","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 8, 2025, 11:35:02 PM","dateUpdated":"Dec 9, 2025, 4:04:14 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-201815","identifiers":["EUVD-2025-201815","CVE-2025-65964","GHSA-wpqc-h9wp-chmq"]},"retained":false,"historicalAffected":[]},{"revision":"10e73964a5344552a425c1c1c2bc6fdf","observedAt":"2026-10-25T03:17:36.152+00:00","statement":{"source":"nvd","id":"CVE-2025-65964","aliases":[],"title":"n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git conf…","description":"n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git configuration values, including core.hooksPath, which can point to a malicious Git hook that executes arbitrary commands on the n8n host during subsequent Git operations. Exploitation requires the ability to create or modify an n8n workflow using the Git node. This issue is fixed in version 1.119.2. Workarounds include excluding the Git Node (Docs) and avoiding cloning or interacting with untrusted repositories using the Git Node.","state":0,"publishedAt":"2025-12-09T00:15:48.8+00:00","modifiedAt":"2026-10-14T22:10:00.21+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":9.4,"severity":"CRITICAL"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04","https://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2","https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq","https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-65964","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-829"],"productCriteria":["cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-12-09T00:15:48.800","lastModified":"2026-10-14T22:10:00.210"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-65964","identifiers":["CVE-2025-65964"]},"retained":false,"historicalAffected":[]},{"revision":"876e5ab7a6624472a12d44a968f43742","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-wpqc-h9wp-chmq","aliases":["CVE-2025-65964"],"title":"n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook","description":"### Impact\n\nThe n8n Git node allows workflows to set arbitrary Git configuration values through the _Add Config_ operation. When an attacker-controlled workflow sets `core.hooksPath` to a directory within the cloned repository containing a Git hook such as `pre-commit`, Git executes that hook during subsequent Git operations. Because Git hooks run as local system commands, this behavior can lead to **arbitrary command execution** on the underlying n8n host.\n\nSuccessful exploitation requires the ability to create or modify an n8n workflow that uses the Git node.\n\nAffected versions: **≥ 0.123.1 and < 1.119.2**\n\n### Patches\n\nThis issue has been patched in **n8n version 1.119.2**.\n\nAll users running affected versions should upgrade to **1.119.2 or later**.\n\n### Workarounds\n\nIf upgrading is not immediately possible, the following mitigations can reduce exposure:\n\n- Exclude the Git node ([Docs](https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes)).\n- Avoid cloning or interacting with untrusted repositories using the Git Node.","state":0,"publishedAt":"2025-12-08T21:30:07+00:00","modifiedAt":"2025-12-09T17:31:40.017214+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.123.1"},{"kind":"fixed","version":"1.119.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq","https://nvd.nist.gov/vuln/detail/CVE-2025-65964","https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04","https://github.com/n8n-io/n8n","https://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2","https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes"],"sourceUrl":"https://github.com/advisories/GHSA-wpqc-h9wp-chmq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wpqc-h9wp-chmq","identifiers":["GHSA-wpqc-h9wp-chmq","CVE-2025-65964"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T22:04:21.7510311+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-09T22:04:21.7510311+00:00","lastSuccessAt":"2026-11-09T22:04:21.9174281+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.9174285+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-496c6c80845a4235d695039f4a651d70f3b55bc53fc01f5ca259c734136db852","complete":true,"records":421688,"lastAttemptAt":"2026-11-09T22:02:15.6116354+00:00","lastSuccessAt":"2026-11-09T22:02:15.4777453+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:02:15.6116354+00:00","snapshotPublishedAt":"2026-11-09T21:30:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5522e4ae35aa4bdc9d39e95136c0428b","complete":false,"records":13672,"lastAttemptAt":"2026-11-09T22:17:03.1981375+00:00","lastSuccessAt":"2026-11-09T22:17:03.194+00:00","error":"27 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-09T22:17:03.194+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13207,"expectedIdentifiers":13725,"failedIdentifiers":27},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T22:04:21.7510311+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T22:04:21.7510311+00:00","lastSuccessAt":"2026-11-09T22:04:21.9181937+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.9181977+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8b527f7960454708a3fcfe8f37f191e9","complete":false,"records":13680,"lastAttemptAt":"2026-11-09T22:04:47.0464678+00:00","lastSuccessAt":"2026-11-09T22:04:47.043+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:47.043+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13704,"expectedIdentifiers":13725,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-422f1ff5212ec8e62457b7c5d867c0d7ff5bdd57ee4fe937d3d7712d35f862bb","complete":true,"records":9919,"lastAttemptAt":"2026-11-09T22:04:21.6095423+00:00","lastSuccessAt":"2026-11-09T22:04:21.3703177+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.6095423+00:00","snapshotPublishedAt":"2026-11-09T22:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T22:02:15.7662034+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:02:15.7662034+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-761ecc9061239b0da572dc9254c6f384c1d19339eb08408c436647a2f26129e9","complete":true,"records":3064,"lastAttemptAt":"2026-11-09T22:04:21.7141844+00:00","lastSuccessAt":"2026-11-09T17:05:03.4044794+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.7141844+00:00","snapshotPublishedAt":"2026-11-09T16:33:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-cefd5e58c60b69931053d90de4b49991fc540e6131b53c29cfa39467d9128b3a","complete":true,"records":231328,"lastAttemptAt":"2026-11-09T22:04:12.3749697+00:00","lastSuccessAt":"2026-11-09T22:04:10.8762138+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:12.3749697+00:00","snapshotPublishedAt":"2026-11-09T21:48:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}