SCA: security update for n8n (GHSA-q5xf-xhwf-cwqf)

medium Tenable Self-Hosted Container Security Plugin ID 445191

Description

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

- n8n before 2.29.8 and 2.30.x before 2.30.1 (affected from 2.27.0, when the OAuth 2.1 consent and token-
issuance flow was introduced) does not verify that the authenticated user has access to the workflow
referenced as the OAuth resource. On instances with at least one active MCP Server Trigger workflow
configured with n8n OAuth2 authentication, a member-level user can register an OAuth client, self-approve
consent for another user's workflow, and obtain a valid token. The workflow then runs in the owner's
project context with the owner's stored credentials, and the attacker can set tool inputs and read outputs
(potentially including data from the owner's connected integrations), breaking user and project isolation.
(CVE-2026-65594)

Solution

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

See Also

https://github.com/advisories/GHSA-q5xf-xhwf-cwqf

Plugin Details

Severity: Medium

ID: 445191

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/23/2026

Updated: 7/23/2026

Risk Information

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-65594

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:L/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-65594

cwe: CWE-863