What’s Vulnerable › Vulnerabilities
CVE-2026-47698: vm2: Sandbox Breakout Using Dangerous Host Proto Mutators
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-17 · updated 2026-10-23
- Weakness: CWE-913
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.
Affected products
- patriksimek vm2: before 3.11.6
References
- https://github.com/patriksimek/vm2/commit/a85acb61f81402c6eabf32760aa11272af6d0f9e
- https://github.com/patriksimek/vm2/releases/tag/3.11.6
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cfcw-xp6x-25gj
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cfcw-xp6x-25gj
Get alerted when CVE-2026-47698 or the next vulnerability affects your stack