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.
References
| Link | Resource |
|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83 | Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/n8n-before-2.36.2-credential-exfiltration-via-workflow-tool-node | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
10 Sep 2026, 19:54
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* | |
| First Time |
N8n
N8n n8n |
|
| References | () https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83 - Mitigation, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/n8n-before-2.36.2-credential-exfiltration-via-workflow-tool-node - Third Party Advisory | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
03 Sep 2026, 13:06
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-03 13:06
Updated : 2026-10-29 21:17
NVD link : CVE-2026-85166
Mitre link : CVE-2026-85166
CVE.ORG link : CVE-2026-85166
JSON object : View
Products Affected
n8n
- n8n
CWE
CWE-863
Incorrect Authorization
