CVE-2026-59253: n8n: Improper Authorization Allows Authenticated Users to Assign Workflows to Folders in Other Projects
When creating a workflow, n8n did not check that the user could access the target folder. An authenticated user with create rights in one project could attach a new workflow to a folder in another project. Only the folder structure is affected, and no data is exposed. Fixed in n8n 2.28.0. Affects multi-project setups with folders.
Published Jul 22, 2026 · Analysis Oct 25, 2026
What an attacker can do
During workflow creation, a crafted request payload can name a folder that belongs to a different project (CWE-639, authorization bypass through a user-controlled key). n8n did not check that the creator has access to that folder, so the new workflow was linked to it.
The effect is small. The workflow stays in the attacker's own project, and the target project's members do not see it. Folder ownership does not change, and the advisory states that no data from the target project is exposed. What breaks is the integrity of the target project's folder structure at the database level: a foreign workflow record points at its folder. The CVSS 4.0 vector reflects that, with low integrity impact and nothing for confidentiality or availability.
The attacker needs a low-privileged account that can create workflows, and the instance must have multi-project and folder support enabled. Teams that run a single project are not affected in practice.
Who is affected
Affected: n8n below 2.28.0. The 1.x line is not listed in this entry. The issue applies to instances with multi-project and folder support enabled, where users have workflow create rights in one project but not another.
Check the version:
npm ls n8nFor Docker, check the image tag or the version in the UI.
n8n
- Ecosystem
- npm
- Affected
- < 2.28.0
- Fixed in
- 2.28.0
- Check
npm ls n8n
How to fix it
Upgrade to n8n 2.28.0 or later. For an npm install, run npm install [email protected].
If you cannot upgrade yet, the only mitigation in the advisory is to restrict project membership and workflow creation permissions to fully trusted users. The advisory says this does not fully remediate the risk and is a short-term measure.
How to tell if you were hit
The sources give no log signature. In the n8n database, look for workflows whose project differs from the project of the folder they sit in. Any such mismatch is the footprint of this flaw. Review workflow-creation requests to the API that carry a folder identifier for a project the requesting user does not belong to.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
An authenticated user with permission to create workflows in one project could bypass project/folder authorization boundaries during workflow creation. By supplying a crafted request payload, the user could associate a newly created workflow with a folder belonging to a different project they do not have access to.
The workflow itself remains in the attacker's project and is not visible to the target project's members. The target project's folder ownership is not changed, and no data from the target project is exposed. The impact is limited to a logical integrity violation of the target project's folder structure at the database level.
This issue affects instances with multi-project and folder support enabled.
Patches
The issue has been fixed in n8n version 2.28.0. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict project membership and workflow creation permissions to fully trusted users only.
This workaround does not fully remediate the risk and should only be used as a short-term mitigation measure.
Credited to HO-9.
Questions
- Does CVE-2026-59253 expose data from other projects?
No. The advisory says the workflow stays in the attacker's project, the target folder's ownership is unchanged, and no target-project data is exposed. It only affects folder structure integrity.
- Who can exploit it?
An authenticated user with permission to create workflows in one project, on an instance with multi-project and folder support. No user interaction is needed.
- Which version fixes it?
n8n 2.28.0 or later fixes it. Every version below 2.28.0 is affected when multi-project and folder support are enabled.
- Is it exploited in the wild?
The sources do not say so, and the entry is not in CISA's KEV catalog. EPSS is low at 0.0028.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More n8n vulnerabilities
All n8n entriesCVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
medium5.9Sep 10, 2026CVE-2026-86074
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
medium5.9Sep 10, 2026CVE-2026-86075
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
high8.7Sep 10, 2026CVE-2026-86076
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
high8.7Sep 10, 2026CVE-2026-86077
n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
medium6.3Sep 10, 2026CVE-2026-86078
n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
medium6.0Sep 10, 2026
