Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-65016: Authorization Bypass Through User-Controlled Key in n8n-io n8n

0
High
VulnerabilityCVE-2026-65016cvecve-2026-65016
Published: 07/22/2026 (07/22/2026, 11:21:38 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

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.

CVSS v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
<1.123.64<2.29.8<2.30.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 02:09:27 UTC

Technical Analysis

n8n versions prior to 1.123.64, 2.29.8, and 2.30.1 contain a privilege escalation vulnerability in the Enterprise SSO instance-role provisioning feature. The provisioning path maps an IdP-asserted role claim to an n8n global role but does not restrict assignment of the global:owner role, unlike the token-exchange identity path which rejects such assignments. If an attacker controls the instance-role claim value issued by the IdP and instance-role provisioning is enabled via the N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE environment variable (disabled by default), they can be provisioned as an instance owner. This grants them full administrative privileges over workflows, credentials, users, and instance configuration within n8n.

Potential Impact

An attacker who can manipulate the instance-role claim in an Enterprise SSO setup with instance-role provisioning enabled can escalate their privileges to global owner. This results in full administrative control over the n8n instance, including workflows, credentials, users, and configuration, potentially leading to complete compromise of the system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Mitigation requires disabling instance-role provisioning by ensuring the N8N_SSO_SCOPES_PROVISION_INSTANCE_ROLE environment variable remains disabled (default setting) or applying any official patches once available. Until then, restrict control over IdP-issued instance-role claims to trusted sources only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-21T11:32:54.897Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a60ab919c2644c7f8ece86d

Added to database: 07/22/2026, 11:37:53 UTC

Last enriched: 07/30/2026, 02:09:27 UTC

Last updated: 09/02/2026, 22:52:13 UTC

Views: 43

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses