Vulnerability Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | < 3.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd11Patch
- https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f8Patch
- https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd0302Patch
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0Release Notes
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47cExploitVendor Advisory
FAQ
What is CVE-2026-24781?
CVE-2026-24781 is a vulnerability with a CVSS score of 9.8 (CRITICAL). vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can esc...
How severe is CVE-2026-24781?
CVE-2026-24781 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-24781?
Check the references section above for vendor advisories and patch information. Affected products include: Vm2 Project Vm2.