CVE-2025-65964: Vulnerability in N8n

Critical. The 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...

npm, CWE-829

Exploitation
None confirmed
Severity
9.4 of 10
Attack likelihood
0.7 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-wpqc-h9wp-chmq
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
Weakness
CWE-829
Published
8 Dec 2025
Last change
14 Oct 2026
Likelihood rank
Higher than 55 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • N8n From 0.123.1 before 1.119.2. Fixed in 1.119.2

Affected packages

Vulnerable version ranges and fixed releases

  • n8n npm, Affected from 0.123.1 before 1.119.2. Fixed in 1.119.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related