CVE Catalog

CVE-2026-92950

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Summary

A vulnerability in the vm2 CLI tool (before 3.11.7) allows sandbox escape and arbitrary code execution in the host Node.js process. Attackers can supply a malicious script that uses require(__filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and child_process.

Risk Assessment

Risk of full compromise of the host Node.js process by an unauthorized attacker, potentially leading to confidentiality and integrity breaches and arbitrary operations in the system.

Recommendation

Upgrade vm2 to version 3.11.7 or later that addresses this vulnerability. Do not use the vm2 CLI with untrusted scripts.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 before 3.11.7 contains a sandbox escape vulnerability in the CLI tool that allows attackers to execute arbitrary code in the host Node.js process. Attackers can supply a malicious script file to the vm2 CLI that uses require(__filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and child_process.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS