SCA: security update for n8n (GHSA-x2mw-7j39-93xq)

critical Tenable Cloud Security Plugin ID 438092

Description

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

- n8n is an open source workflow automation platform. Prior to versions 2.2.0 and 1.123.8, an authenticated
user with permission to create or modify workflows could chain the Read/Write Files from Disk node with
git operations to achieve remote code execution. By writing to specific configuration files and then
triggering a git operation, the attacker could execute arbitrary shell commands on the n8n host. The issue
has been fixed in n8n versions 2.2.0 and 1.123.8. Users should upgrade to one of these versions or later
to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider
the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted
users only, and/or disable the Read/Write Files from Disk node by adding `n8n-nodes-base.readWriteFile` to
the `NODES_EXCLUDE` environment variable. These workarounds do not fully remediate the risk and should
only be used as short-term mitigation measures. (CVE-2026-27498)

See Also

https://github.com/advisories/GHSA-x2mw-7j39-93xq

Plugin Details

Severity: Critical

ID: 438092

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/3/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-27498

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: Critical

Base Score: 9

Threat Score: 6.1

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:H/SI:H/SA:H

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/25/2026

Vulnerability Publication Date: 2/25/2026

Reference Information

CVE: CVE-2026-27498

cwe: CWE-94