CVE-2026-65016
Last modified
CVE-2026-65016 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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). EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | < 1.123.64 |
| N8n | N8n | >= 2.0.0, < 2.29.8 |
| N8n | N8n | 2.30.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-35q8-9mj6-wjmfMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-65016?
How severe is CVE-2026-65016?
How do I fix CVE-2026-65016?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65010Datasets through 5.00, fixed in commit ad2d853, contains a s…6.6
- CVE-2026-65011Graylog2 Server before commit 46a2eeb contains a missing per…5.3
- CVE-2026-65012InvokeAI before 6.13.7 contains an unauthenticated directory…6.3
- CVE-2026-65013Onlook through 0.2.32, fixed in commit 423e2e9, contains a b…8.8
- CVE-2026-65014n8n before 2.28.0 (and before 2.27.4 on the 2.27.x branch) r…5.3
- CVE-2026-65015n8n versions before 2.30.1 contain a privilege escalation vu…8.8
- CVE-2026-65017Apache Airflow's Config API did not mask team-scoped sensiti…
- CVE-2026-6504The Royal Elementor Addons and Templates plugin for WordPres…6.4
- CVE-2026-65048Ninja Forms plugin for WordPress versions 3.10.4 through 3.1…9.3
- CVE-2026-65049Ninja Forms plugin version 3.14.8 and prior for WordPress Mu…9.3
- CVE-2026-6505The ACAP framework contains a Time-of-Check to Time-of-Use (…5.1
- CVE-2026-65050Ninja Forms WordPress plugin version 3.14.8 and prior contai…7.1
Are you affected by CVE-2026-65016?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
