CVE-2025-65964
published 2025-12-09CVE-2025-65964: 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…
PriorityP359high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.60%
44.5th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| n8n-io | n8n | — | — |
| n8n | n8n | >= 0.123.1 < 1.119.2 | 1.119.2 |
| n8n | n8n | >= 0.123.1 < 1.119.2 | 1.119.2 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.4CRITICALCVSS: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
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
ghsa·2025-12-08
CVE-2025-65964 [CRITICAL] CWE-829 n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
### Impact
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.
Successful exploitation requires the ability to create or modify an n8n workflow that uses the Git node.
Affected versions: **≥ 0.123.1 and < 1.119.2**
### Patches
This issue has been patched in **n8n version 1.119.2**.
All users running affected versions
OSV
n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
osv·2025-12-08
CVE-2025-65964 [CRITICAL] n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
### Impact
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.
Successful exploitation requires the ability to create or modify an n8n workflow that uses the Git node.
Affected versions: **≥ 0.123.1 and < 1.119.2**
### Patches
This issue has been patched in **n8n version 1.119.2**.
All users running affected versions
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-12-09
Published