Skip to main content
VulnerabilityPublished Updated

CVE-2026-65016: n8n · Insecure Direct Object Reference

Affects n8nSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 1.123.64 soon.

Data as of 5 Dec 2026, 18:47 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.7
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.123.64, 2.30.1, 2.29.8
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
n8n-ion8nAffected
  • <1.123.64
Fixed in
  • 1.123.64
n8n-ion8nAffected
  • >=2.30.0 <2.30.1
Fixed in
  • 2.30.1
n8n-ion8nAffected
  • >=2.0.0-rc.0 <2.29.8
Fixed in
  • 2.29.8
npmn8npkg:npm/n8nOther threatsAffected
  • <1.123.64
  • >=2.30.0 <2.30.1
  • >=2.0.0-rc.0 <2.29.8
Fixed in
  • 1.123.64
  • 2.30.1
  • 2.29.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…