CVE-2025-65964: n8n · Untrusted Functionality Inclusion
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 1.119.2 as a priority.
Data as of 26 Oct 2026, 06:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- 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
Weaponised: 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 2026-10-25.
What to do
Upgrade n8n-io/n8n to 1.119.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubn8n-io/n8npkg:github/n8n-io/n8nOther threats | 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
The primary mitigation is to upgrade n8n to version 1.119.2 or later, where the vulnerability is fixed. Until upgrade is possible, organizations should disable or restrict the Git node functionality to prevent workflows from modifying Git configurations. Implement strict access controls to limit who can create or modify workflows, ensuring only trusted users have such permissions. Avoid cloning or interacting with untrusted Git repositories through the Git node to reduce exposure to malicious hooks. Monitor workflow changes and Git operations for unusual activity indicative of exploitation attempts. Employ network segmentation to isolate n8n hosts from critical infrastructure and sensitive data stores. Conduct regular security audits of workflow configurations and Git integration settings. Finally, educate DevOps and automation teams about the risks of untrusted code execution via Git hooks and enforce policies to validate all external code sources.
Description
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.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq (opens in a new tab)
- github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04 (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)