CVE-2022-36067: vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules
CVE-2022-36067 is a critical-severity flaw (CVSS 10.0) affecting vm2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 47.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-913 |
| Published | 2022-09-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: prathamhasnotchanged/Exploit-For-CVE-2022-36067 (7 stars)
- GitHub PoC: 0x1nsomnia/CVE-2022-36067-vm2-POC-webapp (2 stars)
- Write-up: github.com/patriksimek/vm2/issues/467
- Write-up: www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067
- GitHub PoC: Prathamrajgor/Exploit-For-CVE-2022-36067
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-36067?
vm2: upgrade to 3.9.11. Exact commands for each OS are on this page.
Is CVE-2022-36067 being exploited?
CVE-2022-36067 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-36067 affect?
CVE-2022-36067 affects vm2. Severity is critical (CVSS 10.0). 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 sandb
How urgent is CVE-2022-36067?
Priority 73/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-44009 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-44008 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-44007 CRITICAL 9.1 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-24781 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-26956 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js