N8n-io n8n
n8n before 2.34.1 Authorization Bypass via Custom Role Deletion
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.34.0, < 2.34.1
Fixed in 2.34.1
- >= 2.0.0, < 2.33.4
Fixed in 2.33.4
Mitigation
Upgrade n8n to 2.34.1 or later.
Upgrade n8n to 2.33.4 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.