CVE-2025-65964: n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
Affects n8nSource GCVE Database
Not known to be exploited · CVSS 9.4 Critical : upgrade to 1.119.2 as a priority.
Data as of 27 Nov 2026, 04:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 9.4 |
|---|
- Patch
- Available – fixed in 1.119.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade n8n to 1.119.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in n8n version 1.119.2; users should upgrade to this version or later to remediate the vulnerability. If immediate upgrade is not possible, mitigate exposure by excluding the Git node from workflows and avoiding cloning or interacting with untrusted repositories using the Git node.
Description
A critical remote code execution vulnerability exists in n8n's Git node between versions 0.123.1 and 1.119.1. The flaw allows attacker-controlled workflows to set the Git configuration 'core.hooksPath' to a directory containing malicious Git hooks, which Git executes during operations, enabling arbitrary command execution on the host. This issue is patched in n8n version 1.119.2. Users should upgrade to this version or later. Workarounds include excluding the Git node or avoiding untrusted repositories.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-65964 (opens in a new tab)
- github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04 (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n%401.119.2 (opens in a new tab)
- n8n-docs.teamlab.info/hosting/securing/blocking-nodes/ (opens in a new tab)