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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-85166— n8n before 2.36.2 Credential Exfiltration via Workflow Tool 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是n8n公司开源的一款支持持续集成与交付的工作流自动化工具。 n8n 2.35.4之前版本和2.36.2版本之前的2.36.x版本存在授权问题漏洞,该漏洞源于未验证执行内联子工作流节点(如Workflow Tool节点)的内联工作流JSON中的凭据引用,共享工作流编辑器或通过REST API、Public API、MCP创建/更新工作流的用户可持久化引用其未拥有的凭据,当工作流以持有该凭据的身份执行时,内联子工作流解析密钥并发送至攻击者控制的端点,导致凭据泄露。

CVSS 7.2 · High EPSS 0.36% · P28

Affected Version Matrix 4

VendorProduct Version RangeStatus
n8n-io n8n < 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-85166

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 2.36.2 Credential Exfiltration via Workflow Tool Node
Source: CVE Program / CVE List V5
Vulnerability Description
n8n before 2.35.4 and 2.36.x before 2.36.2 does not validate credential references in the inline workflow JSON of nodes that execute an inline sub-workflow (e.g., the Workflow Tool node). A shared-workflow editor, or any user creating/updating a workflow via the REST API, Public API, or MCP, can persist a node referencing a credential they do not own. When the workflow is later executed under an identity that holds the credential, the inline sub-workflow resolves the secret and can send it to an attacker-controlled endpoint, resulting in credential exfiltration.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L
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 2.35.4之前版本和2.36.2版本之前的2.36.x版本存在授权问题漏洞,该漏洞源于未验证执行内联子工作流节点(如Workflow Tool节点)的内联工作流JSON中的凭据引用,共享工作流编辑器或通过REST API、Public API、MCP创建/更新工作流的用户可持久化引用其未拥有的凭据,当工作流以持有该凭据的身份执行时,内联子工作流解析密钥并发送至攻击者控制的端点,导致凭据泄露。
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 ~ 2.36.2 -
n8n-io n8n 0 ~ 2.35.4 -

II. Public POCs for CVE-2026-85166

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

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

Vendor Advisories for CVE-2026-85166 (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-85168 7.7 HIGH n8n before 1.123.73 Remote Code Execution via Git Node
CVE-2026-85165 7.2 HIGH n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
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-85166

No comments yet


Leave a comment