Critical severity10.0NVD Advisory· Published Apr 6, 2023· Updated Jun 17, 2026
CVE-2023-29017
CVE-2023-29017
Description
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to Error.prepareStackTrace in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.
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.15 | 3.9.15 |
Affected products
2- Range: < 3.9.15
Patches
Vulnerability mechanics
References
6- github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50nvdPatchWEB
- gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dnvdExploitWEB
- github.com/patriksimek/vm2/issues/515nvdExploitIssue TrackingWEB
- github.com/advisories/GHSA-7jxr-cg7f-gpgvghsaADVISORY
- github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-29017ghsaADVISORY
News mentions
1- Critical vm2 sandbox bug lets attackers execute code on hostsBleepingComputer · May 6, 2026