CVE-2023-30547: vm2 Exception Sanitization Sandbox Escape
- Vendor
- Vm2 Project
CVE-2023-30547 is a critical sandbox-escape vulnerability in vm2 versions through 3.9.16. Insufficient exception sanitization permits sandboxed code to raise an unsanitized host exception within vm2's handleException() processing path. The host-context exception can be abused to bypass the vm2 isolation boundary and execute attacker-controlled code in the host Node.js context.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation escapes the vm2 sandbox and enables arbitrary code execution in the host context. An attacker may execute operating-system commands with the privileges of the Node.js process, access host-process resources available to that process, and compromise the confidentiality, integrity, and availability of the hosting environment.
Mitigation
If you can’t patch tonight, do this now.
No known workaround is available. Until upgrading, do not execute attacker-controlled or untrusted JavaScript with affected vm2 releases. Where untrusted-code execution is unavoidable, enforce an independent process-, container-, or virtual-machine-level isolation boundary and least-privilege execution.
Remediation
Patch, then assume compromise.
Upgrade vm2 to version 3.9.17 or later, which patches the exception-sanitization flaw.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-30547 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-30547 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-30547?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-30547, the earliest disclosed Dec 10, 2023.
- Is there a patch for CVE-2023-30547?
- Upgrade vm2 to version 3.9.17 or later, which patches the exception-sanitization flaw.
- What products are affected by CVE-2023-30547?
- Vm2 Project Vm2.
- How severe is CVE-2023-30547?
- CVE-2023-30547 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 73.0% (99th percentile) as of Oct 16, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.