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

Goal: 1000 CNY · Raised: 1336 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 在 2.35.4 之前以及 2.36.x 系列在 2.36.2 之前的版本,未对执行内联子工作流的节点(例如 Workflow Tool 节点)内联工作流 JSON 中的凭据引用进行验证。共享工作流的编辑者,或任何通过 REST API、Public API 或 MCP 创建/更新工作流的用户,可以持久化一个引用了非其本人拥有的凭据的节点。当该工作流随后以一个持有该凭据的身份执行时,内联子工作流会解析出密钥(秘密信息),并可能将其发送至由攻击者控制的端点,从而导致凭据泄露。

CVSS 7.2 · High

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

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