N8n-io n8n
n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.36.0, < 2.36.2
Fixed in 2.36.2
- < 2.35.4
Fixed in 2.35.4
Mitigation
Upgrade n8n to 2.36.2 or later.
Upgrade n8n to 2.35.4 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.