critical10.0
CVE-2026-43997
vm2 Access to Host Object Enables Sandbox Escape
Impact
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, it is possible to obtain the host Object. There are various ways to use the host Object, to escape the sandbox, one example would be using HostObject.getOwnPropertySymbols to obtain Symbol(nodejs.util.inspect.custom). This vulnerability is fixed in 3.11.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | vm2 | <= 3.10.5 | 3.11.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vm2 Project | Vm2 | before 3.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-47x8-96vw-5wg6
- https://github.com/patriksimek/vm2/security/advisories/GHSA-47x8-96vw-5wg6
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-43997
- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-43997
- https://bugzilla.redhat.com/show_bug.cgi?id=2477203
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43997.json