CVE-2026-65016

HIGH
MEDIUM Priority: 0.03 BB Relevance: 65/100
Published: 2026-07-22 Modified: 2026-10-29 First seen: 2026-10-29 Status: active

Attack Surface

Network Low Complexity No Interaction Conf. Impact Integ. Impact

CVSS Vector Breakdown

AV: Network
AC: Low
PR: Low
UI: None
AT: Present
VC: High
VI: High
VA: High

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.

Weakness Classification (1)

Affected Software (8)

VendorProductVersion
n8n n8n < 1.123.64
n8n n8n < 1.123.64
n8n n8n 2.30.0
n8n n8n 2.30.0
n8n-io n8n 0 < 1.123.64
n8n-io n8n 0 < 1.123.64
n8n-io n8n 2.30.0 < 2.30.1
n8n-io n8n 2.0.0-rc.0 < 2.29.8

Bug Bounty Relevance

65 / 100
✓ Network accessible
✓ Low complexity
✓ No user interaction

CVSS Score

7.7 / 10.0 v4.0
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

EPSS — Exploitation Probability

0.45%
Raw Score 0.004470
Percentile 38.9%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00447
2026-10-28
0.00447

Intelligence Sources

mitre ref →
nvd ref →