CVE-2026-92946Published Sep 17, 2026 · Sep 17Updated Oct 28
vm2 before 3.11.7 Remote Code Execution via require.external
patriksimek vm2
Critical10.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vm2 npm |
|
|
Original 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.
From the CVE record · VulnCheck