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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65598— n8n before 1.123.64 Remote Code Execution via Git Clone

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
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 1.123.64版本之前、2.29.8版本和2.30.1版本之前存在竞争条件问题漏洞,该漏洞源于Git节点克隆操作中的TOCTOU竞争条件,允许经过身份验证的攻击者在路径验证后、克隆运行前将目录替换为符号链接,从而绕过路径限制,在社区节点目录植入特制仓库,导致重启后n8n将其作为自定义节点加载,在服务器上执行任意JavaScript。

AI Predicted 9.1 Difficulty: Moderate EPSS 0.34% · P25

Affected Version Matrix 6

VendorProduct Version RangeStatus
n8n-io n8n < 1.123.64 affected
1.123.64 unaffected
< 2.30.1 affected
2.30.1 unaffected
< 2.29.8 affected
2.29.8 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65598

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 before 1.123.64 Remote Code Execution via Git Clone
Source: CVE Program / CVE List V5
Vulnerability Description
n8n before 1.123.64, 2.29.8, and 2.30.1 contains a TOCTOU race condition in the Git node's clone operation that allows authenticated users to bypass path restrictions by swapping a directory for a symlink after the path is validated but before the clone runs. This lets an attacker plant a crafted repository in the community node directory, which n8n loads as a custom node on the next restart, executing arbitrary JavaScript on the server. Both self-hosted and cloud instances are affected.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:L/SA:L
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n 1.123.64版本之前、2.29.8版本和2.30.1版本之前存在竞争条件问题漏洞,该漏洞源于Git节点克隆操作中的TOCTOU竞争条件,允许经过身份验证的攻击者在路径验证后、克隆运行前将目录替换为符号链接,从而绕过路径限制,在社区节点目录植入特制仓库,导致重启后n8n将其作为自定义节点加载,在服务器上执行任意JavaScript。
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 ~ 1.123.64 -
n8n-io n8n 0 ~ 2.30.1 -
n8n-io n8n 0 ~ 2.29.8 -

II. Public POCs for CVE-2026-65598

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-65598

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-65598 (2)

Same Patch Batch · n8n-io · 2026-07-22 · 14 CVEs total

CVE-2026-65595 8.9 HIGH n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
CVE-2026-65016 7.7 HIGH n8n before 1.123.64, 2.29.8, and 2.30.1 Privilege Escalation via SSO Instance-Role
CVE-2026-65593 6.3 MEDIUM n8n before 1.123.64, 2.29.8, and 2.30.1 SSRF via Dynamic Node Parameters
CVE-2026-65599 5.1 MEDIUM n8n before 1.123.64, 2.29.8, and 2.30.1 Credential Exposure via JWT Header
CVE-2026-65589 5.1 MEDIUM n8n before 1.123.64 Credential Exposure via LLM Node Execution Data
CVE-2026-65594 5.1 MEDIUM n8n before 2.30.1 Missing OAuth Authorization Check
CVE-2026-65597 n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe
CVE-2026-65590 n8n before 2.30.1 Shell Sandbox Bypass on Linux Windows
CVE-2026-65591 n8n before 1.123.64 Sanitizer Bypass Remote Code Execution
CVE-2026-65592 n8n before 1.123.64 Stored DOM XSS via cachedResultUrl
CVE-2026-65015 n8n before 2.30.1 Privilege Escalation via run_node_tool
CVE-2026-65596 n8n before 1.123.64 Credential Exfiltration via GraphQL Node
CVE-2026-65014 n8n before 2.28.0 Authentication Bypass via test-webhook

IV. Related Vulnerabilities

V. Comments for CVE-2026-65598

No comments yet


Leave a comment