CVE Catalog

CVE-2026-92946

CriticalCVSS 10.0
Published: Updated: Translated: NVD NIST

Summary

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Risk Assessment

The vulnerability enables full remote code execution on the host with the Node.js process privileges, leading to complete system compromise.

Recommendation

Upgrade vm2 to version 3.11.7 and configure require.root to exclude node_modules when require.external is enabled.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

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