Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-85166
Published:September 03, 2026
Updated:September 22, 2026
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.
Affected Packages
https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@2.0.0 <n8n@2.35.4
Fix Suggestion:
Update to version n8n@2.35.4
https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) =n8n@2.36.0 <n8n@2.36.2
Fix Suggestion:
Update to version n8n@2.36.2
n8n (NPM):
Affected version(s) >=2.0.0 <2.35.4
Fix Suggestion:
Update to version 2.35.4
n8n (NPM):
Affected version(s) =2.36.0 <2.36.2
Fix Suggestion:
Update to version 2.36.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.21