SCA: security update for n8n (GHSA-35q8-9mj6-wjmf)

high Tenable Self-Hosted Container Security Plugin ID 445154

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-65016)

Solution

Update the n8n library and its related packages to version 1.123.64 or later.

See Also

https://github.com/advisories/GHSA-35q8-9mj6-wjmf

Plugin Details

Severity: High

ID: 445154

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/23/2026

Updated: 7/23/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-65016

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 5.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/22/2026

Vulnerability Publication Date: 7/22/2026

Reference Information

CVE: CVE-2026-65016

cwe: CWE-639