CVE-2026-85166
Last modified
CVE-2026-85166 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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.
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| n8n-io | n8n | < 2.36.2 |
| n8n-io | n8n | < 2.35.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-85166?
How severe is CVE-2026-85166?
How do I fix CVE-2026-85166?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-85160AVideo through commit c91b5975d contains a cross-site reques…8.1
- CVE-2026-85161AVideo through commit c91b5975d contains a cross-site reques…4.3
- CVE-2026-85162AVideo through commit c91b5975d contains a cross-site reques…6.5
- CVE-2026-85163AVideo through commit c91b5975d contains a server-side reque…6.5
- CVE-2026-85164WWBN AVideo through commit c91b5975d contains a server-side …7.1
- CVE-2026-85165n8n versions before 2.36.2 contain an expression sandbox byp…7.2
- CVE-2026-85167n8n before 2.35.4 and 2.36.x before 2.36.2 contain a query i…6.3
- CVE-2026-85168n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a r…7.7
- CVE-2026-85169n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain an …8.7
- CVE-2026-8517Object lifecycle issue in WebShare in Google Chrome on Mac p…8.8
- CVE-2026-85170n8n versions before 1.123.73, 2.35.4, and 2.36.2 pass messag…7.1
- CVE-2026-85171n8n before 1.123.73, 2.35.4, and 2.36.2 contains a credentia…7.1
Are you affected by CVE-2026-85166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
