published 17 Sep 2026 · updated 17 Sep 2026
vm2 before 3.11.7 Sandbox Escape via CLI require
8.6HighCVSS 8.6EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.11.7.
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.
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