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.
CVE-2022-36067
This critical-severity CVE scores 10.0 under NVD CVSS v3. EPSS exploit probability: 82.5%, top 1% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 10.0
- EG Score
- 10.0(medium)
- EPSS
- 98.7%
- KEV
- Not listed
Published
September 6, 2022
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated Jul 11, 2026Sandbox Escape · Advisory · patriksimek/vm2 · GitHub
https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrqSandbox Breakout in VM2 · Issue #467 · patriksimek/vm2 · GitHub
https://github.com/patriksimek/vm2/issues/467commit d9a7f3cc995d (patriksimek/vm2)
Patch available: patriksimek/vm2 3.9.11 (contains commit d9a7f3cc995d)
https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164vm2/lib/setup-sandbox.js at master · patriksimek/vm2 · GitHub
https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71Vendor Advisories for CVE-2022-36067(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| vm2 | — | 3.9.11 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 19:02 UTCOSV refresh
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
Show 31 moreShow fewer
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 12:39 UTCOSV refresh
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-25 15:56 UTCEG score recompute
- 2026-05-23 10:01 UTCOSV refresh
Publicly available exploits
(3 references)Working exploit code is in the public domain (3 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCPrathamrajgor/Exploit-For-CVE-2022-36067First seen Nov 5, 2022
This repo contains payload for the CVE-2022-36067
Open source ↗ - GitHub PoCprathamhasnotchanged/Exploit-For-CVE-2022-36067First seen Nov 5, 2022
This repo contains payload for the CVE-2022-36067
Open source ↗ - Open source ↗GitHub PoC0x1nsomnia/CVE-2022-36067-vm2-POC-webappFirst seen Oct 12, 2022
Related CVEs(same CWE)
Same CWE
10 shownCWE-913
- CVE-2026-53753EG 10.0CRITICAL
- CVE-2026-47137EG 10.0CRITICAL
- CVE-2026-47208EG 10.0CRITICAL
- CVE-2026-47131EG 10.0CRITICAL
- CVE-2026-23830EG 10.0CRITICAL
- CVE-2023-29017EG 10.0EPSS 99%CRITICAL
- CVE-2026-25049EG 9.9CRITICAL
- CVE-2025-68613EG 9.9 KEVEPSS 100%CRITICAL
- CVE-2026-47210EG 9.8CRITICAL
- CVE-2026-22709EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2022-36067?
When was CVE-2022-36067 disclosed?
Is CVE-2022-36067 actively exploited?
What is the CVSS score of CVE-2022-36067?
How do I remediate CVE-2022-36067?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-36067
Is Your Infrastructure Affected by CVE-2022-36067?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.