Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privileged account
-
DeliveryEnumerate or infer foreign project folder IDs via API
-
ExploitCraft workflow creation payload referencing foreign folder ID
-
ExecutionSubmit request bypassing server-side authorization check
-
PersistWorkflow inserted into target project's folder structure
-
ImpactTarget project folder integrity corrupted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires a valid n8n user account with workflow creation privileges (PR:L per CVSS 4.0 vector) - unauthenticated access alone is not sufficient. The attacker must know or enumerate a folder ID belonging to a project they do not own, which may be possible through API enumeration depending on n8n's ID scheme. The vulnerability is triggered specifically during the workflow creation API call by supplying a controlled folder ID in the request payload. Limiting factors: authentication is mandatory; the impact is confined to logical folder structure corruption with no data exfiltration or service disruption; and the flaw is only meaningful in deployments with multiple distinct projects and users. Single-user or single-project n8n instances have no cross-project attack surface. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) accurately reflects the constrained real-world impact: only integrity is affected (VI:L on the vulnerable system, SI:L on subsequent systems), with no confidentiality breach or availability impact. The PR:L requirement means unauthenticated attackers are excluded, which substantially narrows the attack surface to insider threats or compromised accounts. No EPSS data was provided in the input, and the absence of a CISA KEV listing combined with no known public exploit code indicates this has not been actively weaponized. The practical risk is highest in collaborative or multi-tenant n8n deployments where strict project isolation is a security or compliance requirement - single-user or single-project instances have no exploitable attack surface since there are no foreign projects to target. The integrity-only impact limits blast radius to workflow folder structure corruption rather than data exfiltration or operational disruption. Overall, this is a genuine but narrowly scoped authorization control failure, warranting patching but not emergency response posture. |
| Exploit ScenarioDerived | An authenticated low-privileged n8n user enumerates or guesses folder IDs belonging to a different project they should not have access to, then submits a crafted workflow creation API request embedding one of those foreign folder IDs in the payload. The server accepts the request without validating cross-project ownership, inserting the workflow into the target project's folder hierarchy. The attacker can repeatedly pollute the target project's organizational structure, disrupting its workflows or masking malicious automation within a trusted project context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Improper authorization in n8n before 2.28.0 enables authenticated users to assign workflows to folders belonging to foreign projects by supplying crafted payloads during workflow creation. The flaw (CWE-639) bypasses project and folder ownership checks entirely, allowing logical integrity violations across organizational boundaries in multi-project deployments. No active exploitation is confirmed (not in CISA KEV) and no public proof-of-concept code has been identified at time of analysis, though the vendor has released a fix in version 2.28.0.
RemediationAI
Upgrade n8n to version 2.28.0 or later, which resolves the missing authorization check on folder assignment during workflow creation. The vendor-confirmed patch is documented in the GitHub Security Advisory GHSA-2xgm-wc4g-5jvg at https://github.com/n8n-io/n8n/security/advisories/GHSA-2xgm-wc4g-5jvg. If immediate upgrade is not feasible, restrict workflow creation rights to the minimum necessary set of users, reducing the pool of accounts that could exploit the flaw - note this may impact legitimate automation operations. Additionally, audit existing workflows for any cross-project folder assignments that should not exist, as the patch will not retroactively remediate already-corrupted folder structures. No specific port blocking or network-layer mitigation is effective given that the flaw is in application-layer authorization logic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
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 workflow automation platform that organizes automation workflows into projects and folders, a structure critical to multi-tenant or team-based deployments. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): during workflow creation, the API endpoint accepts a folder assignment payload referencing a folder ID without verifying whether that folder belongs to a project the requesting user is authorized to access. Because the key (folder ID) is user-controlled and not server-side validated against the caller's project membership, any authenticated user with workflow creation rights can reference arbitrary folder IDs across project boundaries. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms this is a network-accessible, low-complexity flaw exploitable by any low-privileged authenticated user without special preconditions. The affected range spans all n8n versions from 0 up to 2.28.0 per EUVD-2026-42268.
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:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Network-accessible, authenticated (PR:L), no UI required; scope changes (S:C) because the attacker's actions corrupt another project's folder structure beyond their own security domain; integrity-only impact (I:L), no confidentiality or availability consequences.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 2.28.0 contains an improper authorization vulnerability allowing authenticated users to assign workflows to folders in other projects. Attackers can bypass project and folder authorization boundaries by supplying crafted request payloads during workflow creation, causing logical integrity violations in target project folder structures.
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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-42268
GHSA-gqcv-rfj6-r29g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB