CVE-2026-85166

published 3 Sep 2026 · updated 29 Oct 2026

n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node

7.2HighCVSS 7.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.35.4 and 2.36.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
n8n-io<2.35.4, >=2.36.0 <2.36.22.35.4, 2.36.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-85166 severity on Zeptric[![CVE-2026-85166](https://zeptric.io/badge/cve/CVE-2026-85166.svg)](https://zeptric.io/cve/CVE-2026-85166)