CVE-2026-59253

n8n - Improper Authorization in Workflow Assignment to Folders

Published Jul 8, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 and investigate any unauthorized changes promptly.

Generated by OpenCVE AI on August 1, 2026 at 16:17 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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 8, 2026, 2:31 PM
Reserved
Jul 4, 2026, 12:17 PM
Status
Analyzed
Published
Jul 8, 2026, 2:17 PM
Modified
Jul 8, 2026, 7:25 PM