CVE-2023-37903: Node.js custom inspect sandbox escape in vm2
- Vendor
- Vm2 Project
CVE-2023-37903 is a sandbox escape vulnerability affecting the vm2 Node.js sandbox library through version 3.9.19. An attacker able to execute arbitrary JavaScript inside a vm2 sandbox can abuse Node.js custom inspect functionality to escape the isolation boundary and execute arbitrary code outside the sandbox. Applications that expose sandboxed execution of attacker-controlled JavaScript may consequently permit remote code execution.
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 allows arbitrary code execution with the privileges of the hosting Node.js process, compromising the confidentiality, integrity, and availability of resources accessible to that process. Potential consequences include sensitive data disclosure, unauthorized data modification, and service disruption.
Mitigation
If you can’t patch tonight, do this now.
No configuration-based workaround was identified for the original vulnerability. Stop executing untrusted JavaScript in affected vm2 deployments until the sandbox can be replaced or an appropriately verified fix deployed.
Remediation
Patch, then assume compromise.
Migrate affected deployments to an alternative isolation solution suitable for executing untrusted code. The original disclosure identified no patched release and recommended alternative software; vm2 version 3.9.19 remains affected. Later fixes and patch-bypass advisories concern additional vulnerability history and should not be conflated with the original affected-version range.
Exploits
1 exploit validated by Mallory's analysis.
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-37903 exploited in the wild?
- As of Nov 3, 2026, Mallory has no reports of CVE-2023-37903 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-37903?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-37903, the earliest disclosed Nov 5, 2023.
- Is there a patch for CVE-2023-37903?
- Migrate affected deployments to an alternative isolation solution suitable for executing untrusted code. The original disclosure identified no patched release and recommended alternative software; vm2 version 3.9.19 remains affected.
- What products are affected by CVE-2023-37903?
- Vm2 Project Vm2.
- How severe is CVE-2023-37903?
- CVE-2023-37903 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 4.2% (91st percentile) as of Nov 3, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.