cve.bz

CVE-2026-65016 n8n n8n

7.7 highEPSS 0.4%Fix available

High (7.7) in n8n n8n. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in n8n 1.123.64, 2.29.8, 2.30.1.

On this page
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.

Severity

CVSS 4.0

7.7 high
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-65016 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-65016?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-65016?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-65016 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
n8n-io n8nbefore 1.123.64
n8n-io n8nfrom 2.30.0 before 2.30.1
n8n-io n8nfrom 2.0.0-rc.0 before 2.29.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-35q8-9mj6-wjmfnpmn8n<1.123.641.123.64
GHSA-35q8-9mj6-wjmfnpmn8n>=2.30.0 <2.30.12.30.1
GHSA-35q8-9mj6-wjmfnpmn8n>=2.0.0-rc.0 <2.29.82.29.8

References

Check your stackJSON