Node.js Module vm2 < 3.10.2 Sandbox Breakout

critical Nessus Plugin ID 297233

Synopsis

A module in the Node.js JavaScript run-time environment is affected by a sandbox breakout vulnerability.

Description

The version of the Node.js module vm2 installed on the remote host is prior to 3.10.2. It is, therefore affected by a sandbox breakout vulnerability due to a flaw with the `Promise.prototype.then` and `Promise.prototype.catch` callback sanitization. An unauthenticated, remote attacker can exploit this, to escape the sandbox and run arbitrary code.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to vm2 version 3.10.2 or later.

See Also

http://www.nessus.org/u?2429923a

Plugin Details

Severity: Critical

ID: 297233

File Name: nodejs_module_vm2_3_10_2.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 1/30/2026

Updated: 1/30/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: cpe:/a:vm2_project:vm2

Required KB Items: Host/nodejs/modules/enumerated

Patch Publication Date: 1/25/2026

Vulnerability Publication Date: 1/25/2026

Reference Information

CVE: CVE-2026-22709