CVE-2026-59253: n8n Improper Authorization in Workflow Folder Assignment
n8n, a workflow automation platform, contains a flaw in how it checks permissions when users create or modify workflows. An authenticated user can craft specially-formatted requests to place workflows into folders belonging to other projects—even if they shouldn't have access to those projects. This is a logical integrity issue rather than a confidentiality breach; no data is exposed, but folder organization and project boundaries can be violated.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.0 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-639
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-08
NVD description (verbatim)
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.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-59253 is an improper authorization vulnerability (CWE-639) in n8n versions prior to 2.28.0. The flaw exists in workflow assignment logic during creation or modification. When a user supplies a crafted payload specifying a target folder, the application fails to validate that the folder belongs to a project the user is authorized to access. By bypassing these authorization checks, an attacker can place workflows into arbitrary project folders, compromising the logical separation of multi-tenant or multi-project deployments. The vulnerability requires prior authentication and does not enable unauthorized data reads.
Business impact
For organizations using n8n to manage multiple projects or teams, this vulnerability breaks the security model that isolates project workspaces. An authenticated user—whether an insider or someone with compromised credentials—can pollute or disrupt folder structures in projects they do not own, leading to confusion, accidental execution of workflows in unintended contexts, and potential compliance violations if audit trails become unclear. In shared or SaaS environments, this is particularly damaging because it erodes trust in project isolation.
Affected systems
n8n versions before 2.28.0 are vulnerable. Organizations running n8n self-hosted or cloud deployments should verify their installed version immediately. The vulnerability affects all deployments where multiple projects or teams share the same n8n instance and rely on authorization boundaries.
Exploitability
Exploitation requires an authenticated n8n user account with the ability to create or edit workflows. No interaction from other users is needed, and the attack is straightforward: supply a folder ID from a target project in the workflow creation or modification request. Network access is required but is typically available to any authenticated user. The CVSS score of 5.0 (Medium) reflects that while exploitability is relatively easy, the impact is limited to integrity of folder organization, not confidentiality or availability.
Remediation
Upgrade to n8n version 2.28.0 or later. This release includes authorization validation that ensures a user can only assign workflows to folders within projects they are authorized to access. After patching, review any audit logs for suspicious workflow placements in unowned projects during the vulnerability window.
Patch guidance
Update n8n to version 2.28.0 or later. Consult the official n8n release notes and security advisory for deployment-specific guidance, as patch procedures may differ between self-hosted and cloud-managed installations. Verify the patch in a non-production environment first if your deployment is large or complex. No rollback issues have been reported, but standard change management practices apply.
Detection guidance
Look for workflow creation or modification API calls that specify folder IDs outside the user's assigned projects. Monitor audit logs for workflows appearing in unexpected project folders, particularly if the creating user does not have documented access to that project. Check for patterns of users rapidly probing different project IDs to identify folder assignments. Network-based detection is difficult without logging the request payloads; focus on application-level audit logs and compare workflow ownership against user permissions.
Why prioritize this
Although the CVSS score is Medium (5.0), this vulnerability should be prioritized for patching in multi-tenant or multi-project deployments. The issue directly undermines logical security boundaries and can enable subtle but serious privilege escalation. Organizations with strict project isolation requirements, compliance mandates, or shared workflows across teams should treat this as higher priority. Single-project or single-team n8n deployments face lower risk.
Risk score, explained
CVSS 3.1 score of 5.0 (Medium) is assigned because: Attack Vector is Network (remotely exploitable), Access Complexity is Low (no special conditions needed), Privileges Required is Low (valid user account), User Interaction is None (automatic exploitation), Scope is Changed (affects other projects), Confidentiality is None (no data exposure), Integrity is Low (folder assignment is altered, not data corruption), and Availability is None (system remains operational). The cross-scope impact justifies Medium severity, but lack of data exposure or availability impact prevents a higher score.
Frequently asked questions
Can an attacker read or modify workflow data in other projects using this vulnerability?
No. This vulnerability allows assignment of workflows to folders in other projects, but does not grant read or write access to project data or secrets. The impact is organizational—workflows end up in wrong folders—not data theft.
Do we need to patch n8n if we only have one project and all users belong to that project?
The risk is lower in single-project deployments, but you should still patch to prevent future misconfigurations or if your deployment changes to multi-project. Check your environment and prioritize accordingly.
How can we tell if this vulnerability was exploited in our instance?
Review your n8n audit logs for workflows created or moved to folders in projects where the creating user does not have documented team membership. Also check for any workflows in unexpected locations or suspicious workflow assignment activity during the pre-patch period.
Is there a workaround if we cannot patch immediately?
No reliable workaround exists. Restrict n8n access to trusted users only, disable workflow creation/editing permissions for untrusted accounts, and monitor audit logs closely. Patching is the only complete fix.
This analysis is provided for informational purposes and does not constitute legal or professional security advice. Organizations must conduct their own risk assessments and consult official vendor advisories before patching. No exploit code is provided. Verify all patch versions and release dates against official n8n documentation and release notes. SEC.co makes no warranties regarding the completeness or accuracy of this analysis and assumes no liability for decisions made based on this content. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-45732HIGHn8n OAuth Credential Hijacking via Privilege Escalation
- CVE-2023-40200MEDIUMWP Logo Showcase Authorization Bypass Vulnerability (CVSS 5.3)
- CVE-2025-15657MEDIUMUnauthenticated IDOR in School Management – Patch Guidance
- CVE-2026-10023MEDIUMDokan WooCommerce Plugin Order Tampering Vulnerability
- CVE-2026-10038MEDIUMCharitable WordPress Plugin IDOR Arbitrary Attachment Deletion Vulnerability
- CVE-2026-10096MEDIUMQi Blocks WordPress Plugin IDOR Vulnerability—Author-Level Defacement Risk
- CVE-2026-10154MEDIUMDolibarr ERP CRM Authorization Bypass in Messaging Module
- CVE-2026-10212MEDIUMAstrBot 4.24.2 Authorization Bypass via Session ID Manipulation