N8n: Duplicate Advisory: SSO Instance-Role Provisioning Allows Privilege Escalation to Instance Owner
n8n versions before 1.123.64, 2.29.8, and 2.30.1 have a privilege escalation vulnerability in Enterprise SSO instance-role provisioning. The vulnerability allows an SSO-authenticated user to be provisioned as the instance owner if the IdP-asserted role claim resolves to global:owner. This grants full administrative control over workflows, credentials, users, and instance configuration. Exploitation requires Enterprise SSO to be configured, instance-role provisioning enabled via N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE (disabled by default), and attacker control over the instance-role claim value issued by the IdP. This advisory is a duplicate and has been withdrawn in favor of GHSA-35q8-9mj6-wjmf.
AI Analysis
Technical Summary
A privilege escalation vulnerability exists in n8n's Enterprise SSO instance-role provisioning for versions prior to 1.123.64, 2.29.8, and 2.30.1. 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 attacker who can control the instance-role claim value issued by the IdP and with instance-role provisioning enabled can be provisioned as the instance owner, gaining full administrative privileges. Exploitation requires specific configuration: Enterprise SSO enabled and instance-role provisioning enabled via the environment variable N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE, which is disabled by default.
Potential Impact
An attacker who successfully exploits this vulnerability can escalate privileges to become the instance owner, gaining full administrative control over the n8n instance. This includes control over workflows, credentials, users, and instance configuration, potentially compromising the entire system's integrity and confidentiality.
Mitigation Recommendations
A fix is available in n8n versions 1.123.64, 2.29.8, and 2.30.1 and later. Users should upgrade to these or later versions to remediate the vulnerability. Additionally, instance-role provisioning is disabled by default; ensure it remains disabled if not required. Review Enterprise SSO configuration to restrict control over instance-role claim values issued by the IdP. Since this advisory is a duplicate and withdrawn, refer to the original advisory GHSA-35q8-9mj6-wjmf for the authoritative remediation guidance.
N8n: Duplicate Advisory: SSO Instance-Role Provisioning Allows Privilege Escalation to Instance Owner
Description
n8n versions before 1.123.64, 2.29.8, and 2.30.1 have a privilege escalation vulnerability in Enterprise SSO instance-role provisioning. The vulnerability allows an SSO-authenticated user to be provisioned as the instance owner if the IdP-asserted role claim resolves to global:owner. This grants full administrative control over workflows, credentials, users, and instance configuration. Exploitation requires Enterprise SSO to be configured, instance-role provisioning enabled via N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE (disabled by default), and attacker control over the instance-role claim value issued by the IdP. This advisory is a duplicate and has been withdrawn in favor of GHSA-35q8-9mj6-wjmf.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A privilege escalation vulnerability exists in n8n's Enterprise SSO instance-role provisioning for versions prior to 1.123.64, 2.29.8, and 2.30.1. 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 attacker who can control the instance-role claim value issued by the IdP and with instance-role provisioning enabled can be provisioned as the instance owner, gaining full administrative privileges. Exploitation requires specific configuration: Enterprise SSO enabled and instance-role provisioning enabled via the environment variable N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE, which is disabled by default.
Potential Impact
An attacker who successfully exploits this vulnerability can escalate privileges to become the instance owner, gaining full administrative control over the n8n instance. This includes control over workflows, credentials, users, and instance configuration, potentially compromising the entire system's integrity and confidentiality.
Mitigation Recommendations
A fix is available in n8n versions 1.123.64, 2.29.8, and 2.30.1 and later. Users should upgrade to these or later versions to remediate the vulnerability. Additionally, instance-role provisioning is disabled by default; ensure it remains disabled if not required. Review Enterprise SSO configuration to restrict control over instance-role claim values issued by the IdP. Since this advisory is a duplicate and withdrawn, refer to the original advisory GHSA-35q8-9mj6-wjmf for the authoritative remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mwq7-vcmc-cm4q
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6150d09c2644c7f8da0516
Added to database: 07/22/2026, 23:22:56 UTC
Last enriched: 07/22/2026, 23:28:34 UTC
Last updated: 07/23/2026, 02:51:54 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.