CVE-2026-85166
published high CVSS 4.0 · 7.2n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n2.36.0 to < 2.36.2 (affected · semver) · 2.36.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n0 to < 2.35.4 (affected · semver) · 2.35.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | 2.36.0 to < 2.36.2 (affected · semver)2.36.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 0 to < 2.35.4 (affected · semver)2.35.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
2- GitHub Security Advisory (GHSA-4r56-g65c-fm83) https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83
- VulnCheck Advisory: n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node https://www.vulncheck.com/advisories/n8n-before-2.36.2-credential-exfiltration-via-workflow-tool-node
Provider assertions
2VulnCheck · cna
n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7946ad9d15ddd8df282fbbd233ff2baa63343346cfede6e4b2ec8c98586a34f6
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record