Description
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.
Published: 2026-07-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

n8n versions prior to 2.28.0 contain an improper authorization flaw in the workflow creation process that allows an authenticated user to assign a workflow to a folder that resides in another project. By supplying a crafted request payload, the attacker bypasses project and folder level access controls, resulting in a logical integrity violation where workflows can be relocated outside their intended project context. This vulnerability is classified as CWE-639, reflecting improper authorization of access controls. The impact is the unauthorized manipulation of the target project’s folder structure and the potential exposure or loss of confidential automation logic.

Affected Systems

All instances of the n8n automation platform running a version earlier than 2.28.0 are vulnerable, irrespective of how the software is installed or deployed. The flaw resides in the workflow creation API that maps workflows to folder identifiers within the n8n server. Any user with valid credentials who has permission to create or modify workflows can exploit the issue.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate overall risk. The EPSS score of < 1% reflects a very low current probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires that the attacker already possesses valid user credentials capable of creating or editing workflows. The likely attack vector is inferred from the description; it involves sending a crafted API request to the workflow creation endpoint. No remote code execution or privilege escalation is disclosed in the available data.

Generated by OpenCVE AI on July 26, 2026 at 17:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n version 2.28.0 or later to apply the authorization fix for workflow-to-folder assignments.
  • Restrict the workflow-to-folder assignment capability to users with project administrator roles or explicitly disable the API endpoint for users who do not need this functionality.
  • Apply network-level controls such as IP whitelisting or VPN restrictions to limit access to the workflow creation API to trusted environments.
  • Monitor API usage investigate any unauthorized changes promptly.

Generated by OpenCVE AI on July 26, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2xgm-wc4g-5jvg n8n: Improper Authorization Allows Authenticated Users to Assign Workflows to Folders in Other Projects
History

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n - Improper Authorization in Workflow Assignment to Folders
First Time appeared N8n
N8n n8n
Weaknesses CWE-639
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T14:31:44.900Z

Reserved: 2026-07-04T12:17:14.301Z

Link: CVE-2026-59253

cve-icon Vulnrichment

Updated: 2026-07-08T14:31:41.863Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:00:05Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key