CVE-2026-85166 PUBLISHED

n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node

Assigner: VulnCheck
Reserved: 03.09.2026 Published: 03.09.2026 Updated: 03.09.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.

Metrics

CVSS Vector: 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
CVSS Score: 7.2

Product Status

Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.36.2 (excl.)
  • Version 2.36.2 is unaffected
Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.35.4 (excl.)
  • Version 2.35.4 is unaffected

Credits

  • Solidscripting reporter

References

Problem Types

  • Incorrect Authorization CWE