Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-24118VM2 Sandbox Breakout Through __lookupGetter__
Critical 9.8
In plain English
A critical-severity code injection in vm2 from patriksimek. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | vm2 | 3.11.0 | GHSA-grj5-jjm8-h35p |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| patriksimek | vm2 | < 3.11.0 |
Weakness: CWE-94, CWE-693, CWE-749 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-grj5-jjm8-h35p x_refsource_CONFIRM
- https://github.com/patriksimek/vm2/commit/2b5f3e3a060d9088f5e1cdd585d683d491f990a3 x_refsource_MISC
- https://github.com/patriksimek/vm2/commit/f9b700b1c7d9ef2df416666cb24e0b659140cc74 x_refsource_MISC
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-24118 vdb-entry, x_refsource_REDHAT
- RHBZ#2466502 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24118.json x_sadp-csaf-vex