Critical severityNVD Advisory· Published Jul 21, 2023· Updated Nov 3, 2025
Sandbox Escape in vm2
CVE-2023-37903
Description
vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.
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.9.19 | — |
Affected products
2- Range: <= 3.9.19
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g644-9gfx-q4q4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-37903ghsaADVISORY
- github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4ghsax_refsource_CONFIRMWEB
- security.netapp.com/advisory/ntap-20230831-0007ghsaWEB
- security.netapp.com/advisory/ntap-20241108-0002ghsaWEB
- security.netapp.com/advisory/ntap-20230831-0007/mitre
News mentions
1- vm2: Nine Sandbox Escape CVEs Disclosed in a Single-Day AdvisoryVypr Intelligence · May 29, 2026