Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-65964— n8n Vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook

Quick assessment

Affected
n8n-io n8n
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n是n8n开源的一个可扩展的工作流自动化工具。 n8n 0.123.1版本至1.119.1版本存在安全漏洞,该漏洞源于项目预提交钩子缺少足够保护,可能导致远程代码执行。

AI Predicted 8.1 Difficulty: Easy EPSS 0.67% · P49
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-65964

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n Vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
从非可信控制范围包含功能例程
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n开源的一个可扩展的工作流自动化工具。 n8n 0.123.1版本至1.119.1版本存在安全漏洞,该漏洞源于项目预提交钩子缺少足够保护,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n >= 0.123.1, < 1.119.2 -

II. Public POCs for CVE-2025-65964

# POC Description Source Link Shenlong Link
1 CVE-2025-65964-poc https://github.com/Anthony558238/CVE-2025-65964-poc POC Details
2 None https://github.com/Syzygy-K/CVE-2025-65964-POC POC Details
3 CVE-2025-65964复现 https://github.com/Syzygy-K/CVE-2025-65964-Exploit POC Details
4 CVE-2025-65964 https://github.com/Geekby/n8n-CVE-2025-65964 POC Details
5 CVE-2025-65964 https://github.com/Ashwesker/Blackash-CVE-2025-65964 POC Details
6 None https://github.com/Saboor-Hakimi-23/CVE-2025-65964 POC Details
7 CVE-2025-65964-POC https://github.com/Pinus97/CVE-2025-65964-POC POC Details
8 CVE-2025-65964 https://github.com/Ashwesker/Ashwesker-CVE-2025-65964 POC Details
9 CVE-2025-65964 PoC - Malicious Git Hooks https://github.com/nn0nkey/repo POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-65964

登录查看更多情报信息。

Patches & Fixes for CVE-2025-65964 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-65964

No comments yet


Leave a comment