Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65016— n8n before 1.123.64, 2.29.8, and 2.30.1 Privilege Escalation via SSO Instance-Role

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n 1.123.64之前版本、2.29.8版本之前版本和2.30.1之前版本存在授权问题漏洞,该漏洞源于Enterprise SSO实例角色配置中角色分配逻辑错误,未阻止global:owner角色的分配,可能导致经SSO身份验证的用户获得实例所有者权限,从而完全管理控制工作流、凭据、用户和实例配置。

CVSS 7.7 · High EPSS 0.45% · P37

Possible ATT&CK Techniques 1 AI

T1078.004 · Cloud Accounts

Affected Version Matrix 6

VendorProduct Version RangeStatus
n8n-io n8n < 1.123.64 affected
1.123.64 unaffected
< 2.30.1 affected
2.30.1 unaffected
< 2.29.8 affected
2.29.8 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65016

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n before 1.123.64, 2.29.8, and 2.30.1 Privilege Escalation via SSO Instance-Role
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n 1.123.64之前版本、2.29.8版本之前版本和2.30.1之前版本存在授权问题漏洞,该漏洞源于Enterprise SSO实例角色配置中角色分配逻辑错误,未阻止global:owner角色的分配,可能导致经SSO身份验证的用户获得实例所有者权限,从而完全管理控制工作流、凭据、用户和实例配置。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n 0 ~ 1.123.64 -
n8n-io n8n 0 ~ 2.30.1 -
n8n-io n8n 0 ~ 2.29.8 -

II. Public POCs for CVE-2026-65016

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-65016

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-65016 (1)

News Coverage for CVE-2026-65016 (1)

Same Patch Batch · n8n-io · 2026-07-22 · 14 CVEs total

CVE-2026-65595 8.9 HIGH n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
CVE-2026-65593 6.3 MEDIUM n8n before 1.123.64, 2.29.8, and 2.30.1 SSRF via Dynamic Node Parameters
CVE-2026-65599 5.1 MEDIUM n8n before 1.123.64, 2.29.8, and 2.30.1 Credential Exposure via JWT Header
CVE-2026-65589 5.1 MEDIUM n8n before 1.123.64 Credential Exposure via LLM Node Execution Data
CVE-2026-65594 5.1 MEDIUM n8n before 2.30.1 Missing OAuth Authorization Check
CVE-2026-65597 n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe
CVE-2026-65590 n8n before 2.30.1 Shell Sandbox Bypass on Linux Windows
CVE-2026-65591 n8n before 1.123.64 Sanitizer Bypass Remote Code Execution
CVE-2026-65592 n8n before 1.123.64 Stored DOM XSS via cachedResultUrl
CVE-2026-65015 n8n before 2.30.1 Privilege Escalation via run_node_tool
CVE-2026-65596 n8n before 1.123.64 Credential Exfiltration via GraphQL Node
CVE-2026-65014 n8n before 2.28.0 Authentication Bypass via test-webhook
CVE-2026-65598 n8n before 1.123.64 Remote Code Execution via Git Clone

IV. Related Vulnerabilities

V. Comments for CVE-2026-65016

No comments yet


Leave a comment