{"id":"CVE-2026-77079","summary":"n8n before 2.34.1 Authorization Bypass via Custom Role Deletion","details":"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.","aliases":["GHSA-xhmh-8fgr-xqhj"],"modified":"2026-09-03T03:48:20.248116778Z","published":"2026-08-20T11:21:11.692Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77079.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-639"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77079.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-xhmh-8fgr-xqhj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77079"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-authorization-bypass-via-custom-role-deletion"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/n8n-io/n8n","events":[{"introduced":"b533ecd6856fef9ba7ca096d14b1f798b9933ff6"},{"fixed":"e2279d07cdc8d1aeee42607a15365ccfa98f8b27"},{"introduced":"a8ecda44f7627630bc8b78cf671405157ad41c4f"},{"fixed":"14c9aef0552fb4776501ca1c4589451891dd0ef4"}],"database_specific":{"extracted_events":[{"introduced":"2.34.0"},{"fixed":"2.34.1"},{"introduced":"2.0.0"},{"fixed":"2.33.4"}],"source":"AFFECTED_FIELD"}}],"versions":["2.34.0","n8n@2.34.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77079.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}