published 17 Sep 2026 · updated 17 Sep 2026
vm2 before 3.11.7 Remote Code Execution via require.external
10.0CriticalCVSS 10.0EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.11.7.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| patriksimek | <3.11.7 | 3.11.7 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket