Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable and authenticated (PR:L) SSO user, but AC:H because exploitation requires controlling the IdP claim and a non-default provisioning flag; full instance takeover gives C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
n8n versions before 1.123.64, 2.29.8, and 2.30.1 contain a privilege escalation vulnerability in Enterprise SSO instance-role provisioning. The provisioning path maps an IdP-asserted role claim to an n8n global role but does not prevent assignment of the global:owner role (unlike the token-exchange identity path, which rejects it). An SSO-authenticated user whose instance-role claim resolves to global:owner is provisioned as instance owner, gaining full administrative control over workflows, credentials, users, and instance configuration. Exploitation requires that Enterprise SSO is configured, instance-role provisioning is enabled via N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE (disabled by default), and the attacker controls the instance-role claim value issued by the IdP.
AnalysisAI
Privilege escalation in n8n Enterprise SSO (versions before 1.123.64, 2.29.8, and 2.30.1) lets an SSO-authenticated user who controls their IdP-asserted instance-role claim be provisioned directly as global:owner, seizing full administrative control of workflows, credentials, users, and instance configuration. The instance-role provisioning path fails to block the owner role that the parallel token-exchange path explicitly rejects. Reported by VulnCheck with no public exploit identified at time of analysis; exploitation depends on a non-default configuration.
Technical ContextAI
n8n is a source-available workflow-automation platform whose Enterprise tier supports SSO via an external Identity Provider (IdP). The flaw sits in the instance-role provisioning routine that maps an IdP-asserted role claim onto n8n's internal global role hierarchy. Unlike the token-exchange identity path - which sanitizes claims and rejects global:owner - the provisioning path performs no such denylist check, so a claim resolving to global:owner is honored. This is a textbook CWE-639 (Authorization Bypass Through User-Controlled Key): an authorization decision is driven by an attacker-influenceable key (the role claim) without server-side validation that the requested privilege level is permissible. The affected component is n8n-io:n8n across the pre-fix version ranges (per the supplied CPE entries).
RemediationAI
Upgrade to a fixed release - Vendor-released patch: n8n 1.123.64, 2.29.8, or 2.30.1 (choose the one matching your major-version track), as documented in GHSA-35q8-9mj6-wjmf (https://github.com/n8n-io/n8n/security/advisories/GHSA-35q8-9mj6-wjmf). If you cannot patch immediately, the most effective compensating control is to disable instance-role provisioning by unsetting or setting N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE to false, which returns to the secure default; the trade-off is that instance roles will no longer be assigned automatically from IdP claims and must be managed manually within n8n. Additionally, harden the IdP so that the instance-role claim cannot be set or edited by end users (remove it from self-service attribute mapping and enforce it server-side), and audit existing users for any unexpected global:owner assignments granted through SSO before patching.
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is
The n8n package 0.218.0 for Node.js allows Directory Traversal. Rated medium severity (CVSS 6.5), this vulnerability is
n8n versions prior to 2.5.0 contain a critical SSH host key verification bypass in the Source Control feature that allow
This vulnerability in n8n (an open-source workflow automation platform) is an authentication bypass in the OAuth callbac
Code injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22 allows authenticated users to execute arbitrary c
Same technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47632
GHSA-mwq7-vcmc-cm4q