Description
n8n before 2.34.1 and 2.33.4 contains an authorization bypass in the custom project role deletion (reassignment) path. When deleting a custom project role with a reassignment target, the code validated only that the target role existed and was project-scoped, performing no project-level authorization check. A user holding only the narrow role:manageProject global scope could delete any custom project role in use on the instance and reassign its holders (including themselves) to the built-in project:admin role, gaining full administrative control of projects they had no legitimate access to.
Published: 2026-08-20
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation to Full Project Administrator
Action: Immediate Patch
AI Analysis

Impact

An authorization flaw in n8n allows a user with the global role:manageProject scope to delete any custom project role, even when that role is in use. During deletion the code verifies only that the target role exists and is project‑scoped, but it omits the necessary project‑level authorization check. This flaw maps to CWE‑639: Permissions Mismatch. When the custom role is reassigned to the built‑in project:admin role, the attacker obtains full administrative control of any project they previously had no legitimate access to, enabling modification or deletion of project data and compromising both confidentiality and integrity.

Affected Systems

The vulnerability exists in n8n after releases prior to 2.34.1, including version 2.33.4 and all earlier versions of the open‑source n8n platform distributed by n8n‑io.

Risk and Exploitability

The CVSS score of 7.4 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker only needs a user account that possesses the global role:manageProject scope; no additional privileges or network‑level access are required. By deleting a custom role and reassigning its holders—including themselves—to project:admin, the attacker bypasses all project‑level controls, gaining unchecked authority to modify or destroy project data.

Generated by OpenCVE AI on August 20, 2026 at 23:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.34.1 or later to restore the missing project‑level authorization check on role deletion.
  • Revoke or constrain the global role:manageProject permission for users who do not require the ability to delete custom roles, reducing the number of accounts that could exploit the flaw.
  • Enable and monitor audit logging for role deletion and reassignment events to detect accidental or malicious changes in real time.

Generated by OpenCVE AI on August 20, 2026 at 23:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 25 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 20 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description n8n before 2.34.1 and 2.33.4 contains an authorization bypass in the custom project role deletion (reassignment) path. When deleting a custom project role with a reassignment target, the code validated only that the target role existed and was project-scoped, performing no project-level authorization check. A user holding only the narrow role:manageProject global scope could delete any custom project role in use on the instance and reassign its holders (including themselves) to the built-in project:admin role, gaining full administrative control of projects they had no legitimate access to.
Title n8n before 2.34.1 Authorization Bypass via Custom Role Deletion
First Time appeared N8n
N8n n8n
Weaknesses CWE-639
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T14:30:49.241Z

Reserved: 2026-08-20T10:55:09.093Z

Link: CVE-2026-77079

cve-icon Vulnrichment

Updated: 2026-08-25T14:30:44.104Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T12:16:39.263

Modified: 2026-09-01T19:45:02.283

Link: CVE-2026-77079

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:02:03Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key