Skip to main content

n8n CVE-2026-85166

| EUVDEUVD-2026-70401 HIGH
Incorrect Authorization (CWE-863)
2026-09-03 VulnCheck GHSA-4qfv-x7mh-xjhv
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege n8n account
  2. Delivery
    Enumerate or guess target credential ID
  3. Exploit
    Craft inline sub-workflow JSON referencing foreign credential
  4. Execution
    Persist malicious workflow via API or UI
  5. Persist
    Trigger or await privileged workflow execution
  6. Impact
    Credential resolved and exfiltrated to attacker endpoint

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a low-privilege authenticated n8n account (PR:L) with permission to create or update workflows through at least one of: the n8n web UI with shared-workflow editing enabled, the n8n REST API, the Public API, or the MCP interface. The attacker must know or enumerate a valid credential ID belonging to a higher-privileged user or service account - n8n credential IDs may be guessable or discoverable through other means in the same platform. Exploitation is completed only when the poisoned workflow is executed under an identity that owns the referenced credential, which may be triggered by a scheduled run or another user manually starting the workflow. Limiting factors: (1) single-user or strictly isolated n8n deployments where all users own all credentials are not exploitable; (2) deployments where workflow creation is restricted to administrators are not exploitable; (3) the attack requires the credential owner's execution context to eventually run the workflow, introducing a time delay and some environmental dependency (AT:P).

Impact

The CVSS 4.0 score of 7.2 with PR:L reflects that exploitation requires an authenticated low-privilege account - unauthenticated attacks are not possible. The AT:P (Attack Prerequisites: Present) metric flags the conditional dependency on a privileged execution context resolving the credential, which meaningfully reduces opportunistic exploitability compared to a fully AC:L scenario. No KEV listing and no confirmed public exploit code exist at time of analysis, and EPSS data was not provided in the source intelligence. Despite these moderating factors, the practical risk in multi-user or shared-tenant n8n deployments is high: any user granted workflow creation or editing rights - even via a scoped API key - can silently poison a workflow to harvest credentials belonging to administrators or integration owners. Even a mid-sized municipal IT team in tczew running a shared n8n instance for internal automation should treat this as urgent patching, because the attack is non-interactive from the victim's side (scheduled or automated runs complete the exfiltration without any suspicious UI action). The 'Authentication Bypass' tag in the source metadata is a loose fit; this is correctly classified as CWE-863 Incorrect Authorization, not an authentication mechanism bypass.

Exploit ScenarioDerived

An attacker with a low-privilege n8n account (or a stolen API key) enumerates or guesses the internal ID of a high-value credential owned by an admin - for example, a stored AWS access key or Slack bot token. The attacker uses the n8n Public API to create or update a workflow containing a Workflow Tool node whose inline sub-workflow JSON references that credential ID and routes its resolved value via an HTTP Request node to an attacker-controlled server. When the workflow is next executed - by a scheduled trigger, a webhook, or the admin running it manually - n8n resolves the credential in the execution context of the owning identity and the plaintext secret is transmitted to the attacker's endpoint. No public proof-of-concept code has been identified, but the attack path requires only standard API calls.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Credential exfiltration in n8n's workflow execution engine allows a low-privileged authenticated user to reference another user's credentials inside an inline sub-workflow node (such as the Workflow Tool node) without any ownership validation. Affected versions are n8n before 2.35.4 and 2.36.x before 2.36.2. When a privileged execution context later runs the poisoned workflow and resolves the referenced secret, the sub-workflow can forward the plaintext credential to an attacker-controlled endpoint. No public exploit code has been identified at time of analysis, but the VulnCheck advisory corroborates the GitHub Security Advisory GHSA-4r56-g65c-fm83.

RemediationAI

Upgrade n8n to version 2.35.4 (on the 2.35.x branch) or 2.36.2 (on the 2.36.x branch) as documented in the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83. If immediate patching is not feasible, restrict workflow creation and editing permissions to fully trusted accounts only, removing shared-workflow editing access from any account that does not need it. Revoke or rotate API keys and MCP tokens that grant workflow write access to lower-trust identities, as all three write surfaces (REST API, Public API, MCP) can be used to persist the malicious credential reference. Audit existing workflows - particularly those containing Workflow Tool or similar inline sub-workflow nodes - for credential references that do not belong to the workflow owner. Note that disabling API-based workflow creation will break automation pipelines that rely on dynamic workflow management, so coordinate with teams before restricting those endpoints.

Affected VersionsENISA

n8n 0 <2.35.4
n8n 0 <2.36.2

Affected Packages

euvd n8n fix: 2.35.4, 2.36.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is an open-source, self-hostable workflow automation platform (CPE: cpe:2.3:a:n8n-io:n8n) that lets users define pipelines of nodes connecting external services. Certain node types - most notably the Workflow Tool node - accept an inline sub-workflow definition embedded as JSON directly in the parent node's configuration. The credential system in n8n associates secrets with specific user accounts and is intended to enforce ownership-based access control. CWE-863 (Incorrect Authorization) is the root cause: when a user creates or updates a workflow via the web UI (shared editing), the REST API, the Public API, or the MCP (Model Context Protocol) interface, n8n does not verify that credential IDs referenced within the inline sub-workflow JSON are owned by or accessible to the requesting user. This breaks the authorization boundary between credential owners, allowing a cross-user reference to persist in the workflow store and be silently resolved at execution time.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.2 HIGH
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
vuln.today AI 7.7 HIGH

Low-privilege network-accessible attack crosses credential ownership scope (S:C/C:H); no integrity or availability impact from the injection step itself.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Sep 03, 2026 - 13:01 EUVD
CVE Published
Sep 03, 2026 - 11:22 cve.org
HIGH 7.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-863: incorrect authorization.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n's workflow execution engine (versions before 2.35.4 and 2.36.x before 2.36.2) allows low-privileged authenticated users to exfiltrate high-privilege credentials by injecting malicious credential references into sub-workflow nodes. Organizations running affected versions face credential compromise risk when privileged users execute workflows unknowingly poisoned by lower-tier staff.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to n8n 2.35.4, 2.36.2, or later. If immediate upgrade is not feasible, restrict workflow creation and modification permissions to administrators only, and audit credential usage logs for anomalies.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted workflow automation platform, growing enterprise adoption
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy