Inclusion of Functionality from Untrusted Control Sphere in n8n - CVE-2025-65964

 

Inclusion of Functionality from Untrusted Control Sphere in n8n - CVE-2025-65964

Published: February 9, 2026


Vulnerability identifier: #VU122479
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-65964
CWE-ID: CWE-829
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: n8n
Affected software:
n8n

Detailed vulnerability description

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to 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 the underlying n8n host.


How to mitigate CVE-2025-65964

Install updates from vendor's website.

Sources