SCA: security update for n8n (GHSA-mmgg-m5j7-f83h)

high Tenable Self-Hosted Container Security Plugin ID 438015

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.10.1, 2.9.3, and 1.123.22, an
authenticated user with permission to create or modify workflows could use the Python Code node to escape
the sandbox. The sandbox did not sufficiently restrict access to certain built-in Python objects, allowing
an attacker to exfiltrate file contents or achieve RCE. On instances using internal Task Runners (default
runner mode), this could result in full compromise of the n8n host. On instances using external Task
Runners, the attacker might gain access to or impact other task executed on the Task Runner. Task Runners
must be enabled using `N8N_RUNNERS_ENABLED=true`. The issue has been fixed in n8n versions 2.10.1, 2.9.3,
and 1.123.22. Users should upgrade to this version 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 Code node by
adding `n8n-nodes-base.code` 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-27494)

See Also

https://github.com/advisories/GHSA-mmgg-m5j7-f83h

Plugin Details

Severity: High

ID: 438015

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/1/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

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-27494

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/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.1

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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-27494

cwe: CWE-497