critical9.8
CVE-2026-24118
vm2 is an open source vm/sandbox for Node.js.
Impact
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability. 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | vm2 | <= 3.10.4 | 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-grj5-jjm8-h35p
- https://github.com/patriksimek/vm2/security/advisories/GHSA-grj5-jjm8-h35p
- https://github.com/patriksimek/vm2/commit/2b5f3e3a060d9088f5e1cdd585d683d491f990a3
- https://github.com/patriksimek/vm2/commit/f9b700b1c7d9ef2df416666cb24e0b659140cc74
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-24118
- https://access.redhat.com/security/cve/CVE-2026-24118
- https://bugzilla.redhat.com/show_bug.cgi?id=2466502
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24118.json