CVE-2026-77079 n8n before 2.34.1 Authorization Bypass via Custom Role Deletion

High 7.4 Published Updated

Attackers with limited project management scope can delete custom roles and reassign themselves to admin, gaining unauthorized control over projects.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-77079?

CVE-2026-77079 is a high-severity missing authorization vulnerability in N8n N8n, published on 20 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-639

Which versions are affected by CVE-2026-77079?

It affects 1 product.

Products include N8n N8n.

How do I fix CVE-2026-77079?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-77079 being exploited?

There is no known exploitation of CVE-2026-77079 in the wild and no public exploit code.

All N8n N8n vulnerabilities

Sources

Also known as GHSA-49q9-j3mm-wgh5, GHSA-xhmh-8fgr-xqhj, MINI-fghh-584r-mjjj.

Is CVE-2026-77079 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free