Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege n8n account
-
DeliveryEnumerate or guess target credential ID
-
ExploitCraft inline sub-workflow JSON referencing foreign credential
-
ExecutionPersist malicious workflow via API or UI
-
PersistTrigger or await privileged workflow execution
-
ImpactCredential 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Low-privilege network-accessible attack crosses credential ownership scope (S:C/C:H); no integrity or availability impact from the injection step itself.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-70401
GHSA-4qfv-x7mh-xjhv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB