CVE-2025-65964Inclusion of Functionality from Untrusted Control Sphere
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 9.4 (CRITICAL)
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:XAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)High
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Dec 9, 2025Published
- Dec 9, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2025-65964. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
- Critical n8n RCE Flaw (CVE-2025-65964) Allows Remote Code Execution via Git Node Configuration Manipulation
- Sandbox Shattered: Critical n8n Flaw (CVSS 9.9) Allows Remote Code Execution
- Public Exploit Released: Critical n8n Flaw CVE-2026-21858 Exposes 100k Servers
- CVSS 10.0 Alert: Critical n8n Flaw CVE-2026-21877 Grants Total Control
- n8n Sandbox Escape: How CVE-2025-68668 Turns Workflows into Weapons
External References
- Patchhttps://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04
- Referencehttps://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2
- Vendor Advisoryhttps://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq
- Referencehttps://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes
Data last checked: Nov 22, 2026 10:06 UTC