{"id":"CVE-2026-44007","summary":"vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution","details":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.","aliases":["GHSA-8hg8-63c5-gwmx"],"modified":"2026-07-08T08:13:30.131865251Z","published":"2026-05-13T17:33:19.799Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44007.json","cwe_ids":["CWE-284"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/05/05/11"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-44007"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44007.json"},{"type":"ADVISORY","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44007"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477198"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/patriksimek/vm2","events":[{"introduced":"0"},{"fixed":"46cbbdde4e19b743974c942278080231004146ca"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"fixed":"3.11.1"}],"cpe":"cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*"}}],"versions":["v3.11.0","v3.10.5","v3.10.4","v3.10.3","v3.10.2","v3.10.1","v3.10.0","3.9.19","3.9.18","3.9.17","3.9.16","3.9.15","3.9.14","3.9.13","3.9.12","3.9.11","3.9.10","3.9.9","3.9.8","3.9.7","3.9.6","3.9.5","3.9.4","3.9.3","v3.9.2","v3.9.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44007.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}