Critical severity10.0NVD Advisory· Published Sep 6, 2022· Updated Jun 17, 2026
CVE-2022-36067
CVE-2022-36067
Description
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can 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.11 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.11 | 3.9.11 |
Affected products
2- Range: < 3.9.11
Patches
Vulnerability mechanics
References
9- github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873nvdPatchThird Party AdvisoryWEB
- github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrqnvdPatchThird Party AdvisoryWEB
- github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.jsnvdExploitThird Party AdvisoryWEB
- www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-mrgp-mrhc-5jrqghsaADVISORY
- github.com/patriksimek/vm2/issues/467nvdIssue TrackingThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-36067ghsaADVISORY
- security.netapp.com/advisory/ntap-20221017-0002/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20221017-0002ghsaWEB
News mentions
1- Critical vm2 sandbox bug lets attackers execute code on hostsBleepingComputer · May 6, 2026