CVE-2025-65964
December 08, 2025
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 Packages
https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@0.123.1 <n8n@1.119.2Fix Suggestion:
Update to version n8n@1.119.2n8n-nodes-base (NPM):
Affected version(s) >=0.64.1 <1.117.1Fix Suggestion:
Update to version 1.117.1@n8n/config (NPM):
Affected version(s) =1.62.0 <1.62.1Fix Suggestion:
Update to version 1.62.1n8n (NPM):
Affected version(s) >=0.123.1 <1.119.2Fix Suggestion:
Update to version 1.119.2@n8n/config (NPM):
Affected version(s) >=1.1.0 <1.61.1Fix Suggestion:
Update to version 1.61.1n8n-nodes-base (NPM):
Affected version(s) =1.118.0 <1.118.1Fix Suggestion:
Update to version 1.118.1Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Inclusion of Functionality from Untrusted Control Sphere
EPSS
Base Score:
0.03