Critical severity9.8GHSA Advisory· Published May 4, 2026· Updated May 8, 2026
CVE-2026-24118
CVE-2026-24118
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vm2npm | < 3.11.0 | 3.11.0 |
Affected products
3<= 3.10.4+ 1 more
- (no CPE)range: <= 3.10.4
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*range: <3.11.0
Patches
Vulnerability mechanics
References
6- github.com/patriksimek/vm2/commit/2b5f3e3a060d9088f5e1cdd585d683d491f990a3nvdPatchWEB
- github.com/patriksimek/vm2/commit/f9b700b1c7d9ef2df416666cb24e0b659140cc74nvdPatchWEB
- github.com/patriksimek/vm2/security/advisories/GHSA-grj5-jjm8-h35pnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-grj5-jjm8-h35pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24118ghsaADVISORY
- github.com/patriksimek/vm2/releases/tag/v3.11.0nvdRelease NotesWEB
News mentions
1- vm2 Node.js Library Vulnerabilities Enable Sandbox Escape and Arbitrary Code ExecutionThe Hacker News · May 7, 2026