CVE-2026-85166
Last modified
CVE-2026-85166 is a medium-severity vulnerability rated 6.5/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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | < 2.35.4 |
| N8n | N8n | >= 2.36.0, < 2.36.2 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
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…9.9
- CVE-2026-85167n8n before 2.35.4 and 2.36.x before 2.36.2 contain a query i…6.5
- CVE-2026-85168n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a r…8.8
- CVE-2026-85169n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain an …8.8
- 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…6.5
- CVE-2026-85171n8n before 1.123.73, 2.35.4, and 2.36.2 contains a credentia…6.5
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
