{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.34.0"
              },
              {
                "fixed": "2.34.1"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.33.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "b533ecd6856fef9ba7ca096d14b1f798b9933ff6"
            },
            {
              "fixed": "e2279d07cdc8d1aeee42607a15365ccfa98f8b27"
            },
            {
              "introduced": "a8ecda44f7627630bc8b78cf671405157ad41c4f"
            },
            {
              "fixed": "14c9aef0552fb4776501ca1c4589451891dd0ef4"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.34.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-xhmh-8fgr-xqhj"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77079.json"
  },
  "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.",
  "id": "CVE-2026-77079",
  "modified": "2026-09-03T03:30:57.032627847Z",
  "published": "2026-08-20T11:21:11.692Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "n8n before 2.34.1 Authorization Bypass via Custom Role Deletion"
}