CVE-2026-85166

n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node

State
Published
Severity
7.2 High
Published
Sep 3, 2026
Updated
Oct 29, 2026
Reserved
Sep 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:LVulnCheck

Weaknesses

Affected Products

ProductVersions
n8nn8n-io
  • 2.36.0 to before 2.36.2Affected
  • 2.36.2Not affected
n8nn8n-io
  • before 2.35.4Affected
  • 2.35.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.