10.0Critical
CVE-2026-92946vm2 before 3.11.7 Remote Code Execution via require.external
Description
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.
Weakness (CWE):
CWE-913
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.7, fixed 3.11.7 |
References and patches
- GitHub Security Advisory (GHSA-j3hm-6rg5-mchv) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Remote Code Execution via require.external third-party-advisory