{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-65016","id":"CVE-2026-65016","title":"n8n before 1.123.64, 2.29.8, and 2.30.1 Privilege Escalation via SSO Instance-Role","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 gl","descriptionLong":"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.","published":"2026-07-22T11:21:38.704Z","updated":"2026-10-31T02:30:50.288867335Z","reserved":"2026-07-21T11:32:54.897Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["n8n-io n8n"],"affectedProducts":[{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.123.64"},{"version":"1.123.64","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"2.30.0","status":"affected","versionType":"semver","lessThan":"2.30.1"},{"version":"2.30.1","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"2.0.0-rc.0","status":"affected","versionType":"semver","lessThan":"2.29.8"},{"version":"2.29.8","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.64",">=2.30.0 <2.30.1",">=2.0.0-rc.0 <2.29.8"],"fixed":["1.123.64","2.30.1","2.29.8"],"advisory":"GHSA-35q8-9mj6-wjmf"}],"cwes":["CWE-639"],"aliases":["GHSA-35q8-9mj6-wjmf"],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-35q8-9mj6-wjmf","tags":["vendor-advisory","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-sso-instance-role","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65016.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65016","tags":["advisory"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64","tags":["web"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8","tags":["web"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00447,"epssPercentile":0.39634,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-65016","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65016","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-65016","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-35q8-9mj6-wjmf","ok":true,"note":"GHSA-35q8-9mj6-wjmf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-65016","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}