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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85168— n8n before 1.123.73 Remote Code Execution via Git Node

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 在 1.123.73、2.35.4 和 2.36.2 之前版本中的 Git 节点存在远程代码执行(RCE)漏洞。该节点在每次操作前会重置一个固定的、带有命令的配置键列表,但该列表未涵盖“内容过滤器”(content-filter)和“合并驱动”(merge-driver)这两类配置键。如果某个仓库的本地 Git 配置中设置了上述某类键,并匹配了相应的属性模式,那么在执行普通的 Add、Commit、Checkout 或 Pull 操作时,Git 将会执行所配置的命令。该命令将以 n8n 进程用户的身份运行。

CVSS 7.7 · High

Possible ATT&CK Techniques 1 AI

T1059.004 · Unix Shell

Affected Version Matrix 6

VendorProduct Version RangeStatus
n8n-io n8n < 1.123.73 affected
1.123.73 unaffected
< 2.36.2 affected
2.36.2 unaffected
< 2.35.4 affected
2.35.4 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85168

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.73 Remote Code Execution via Git Node
Source: CVE Program / CVE List V5
Vulnerability Description
n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a remote code execution vulnerability in the Git node. The node reset a fixed list of command-bearing configuration keys before each operation, but that list did not cover the content-filter and merge-driver key families. A repository with local configuration setting one of those keys together with a matching attribute pattern causes git to execute the configured command during an ordinary Add, Commit, Checkout, or Pull operation. The command runs as the n8n process user.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n 0 ~ 1.123.73 -
n8n-io n8n 0 ~ 2.36.2 -
n8n-io n8n 0 ~ 2.35.4 -

II. Public POCs for CVE-2026-85168

# 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-85168

登录查看更多情报信息。

Vendor Advisories for CVE-2026-85168 (2)

Same Patch Batch · n8n-io · 2026-09-03 · 9 CVEs total

CVE-2026-85169 8.7 HIGH n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak
CVE-2026-85165 7.2 HIGH n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
CVE-2026-85166 7.2 HIGH n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node
CVE-2026-85171 7.1 HIGH n8n before 1.123.73 Credential Exposure via Error Logging
CVE-2026-85170 7.1 HIGH n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes
CVE-2026-85167 6.3 MEDIUM n8n before 2.36.2 Query Injection via Elasticsearch Firestore Nodes
CVE-2026-85172 5.3 MEDIUM n8n before 2.34.1 SSRF via Request Helper URI Validation Bypass
CVE-2026-85173 5.3 MEDIUM n8n before 2.36.2 Missing Authorization via Insights API

IV. Related Vulnerabilities

V. Comments for CVE-2026-85168

No comments yet


Leave a comment