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.
Fix
Public exploits 6
- Anthony558238/CVE-2025-65964-poc PoC on GitHub
- Geekby/n8n-CVE-2025-65964 PoC on GitHub
- Pinus97/CVE-2025-65964-POC PoC on GitHub
- Saboor-Hakimi-23/CVE-2025-65964 PoC on GitHub
- Syzygy-K/CVE-2025-65964-Exploit PoC on GitHub
- nn0nkey/repo PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04 Patch
- https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.4 · n8nNVD modified 2026-10-14 22:10
Affected (CPE criteria) 1
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
References 4
- https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04 Patch
- https://github.com/n8n-io/n8n/releases/tag/n8n%401.119.2 Release Notes
- https://github.com/n8n-io/n8n/security/advisories/GHSA-wpqc-h9wp-chmq Exploit, Vendor Advisory
- https://n8n-docs.teamlab.info/hosting/securing/blocking-nodes/#exclude-nodes Third Party Advisory