{"id":"CVE-2026-44008","published":"2026-05-13T17:35:03Z","modified":"2026-11-04T03:34:21Z","title":"vm2 has sandbox breakout via `neutralizeArraySpeciesBatch`","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpeciesBatch works with objects from the other side but can call into this side via getter on the array prototype exposing objects of the wrong side into the sandbox. This can be used to get host objects and get the host Function object. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00892,"percentile":0.60286,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-1100","name":"Insufficient Isolation of System-Dependent Functions"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-9qj6-qjgg-37qq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/ca195f0178989d6f59eafb7af965806f829e20f7","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50850","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-44008","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477201","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.2","tags":["x_refsource_MISC"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44008.json","tags":["x_refsource_MISC"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":12.06},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-14T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.2"],"patched":["3.11.2"],"from":["GHSA-9qj6-qjgg-37qq"],"provenance":"source"}],"summary":{"text":"The vm2 Node.js sandbox library has a flaw in its neutralizeArraySpeciesBatch method, where a getter on the array prototype exposes objects from the host side into the sandbox. An attacker who can run code inside a vm2 sandbox without any prior authentication, over the network, and without user interaction can use this to obtain host objects and the host Function object, then execute arbitrary commands on the host system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:19Z"},"euvd":{"id":"EUVD-2026-30078","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-patriksimek-vm2-cve-2022-36067","parents":[{"from":"CVE-2023-37466","to":"CVE-2026-44008","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/bridge.js"],"commits":["https://github.com/patriksimek/vm2/commit/d9a1fde8ec5a5a9c9e5a69bf91d703950859d744","https://github.com/patriksimek/vm2/commit/ca195f0178989d6f59eafb7af965806f829e20f7"],"basis":"shared function","functions":["createBridge"]}]}],"children":[{"from":"CVE-2026-44008","to":"CVE-2026-100722","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/bridge.js"],"commits":["https://github.com/patriksimek/vm2/commit/6e487df9518e455e5e60faec3df3a0e2e27f9940","https://github.com/patriksimek/vm2/commit/ca195f0178989d6f59eafb7af965806f829e20f7"],"basis":"shared function","functions":["createBridge"]}]}],"packageHistory":[{"cve":"CVE-2026-44005","published":"2026-05-13","fixed":"3.11.0","kev":false},{"cve":"CVE-2026-44006","published":"2026-05-13","fixed":"3.11.0","kev":false},{"cve":"CVE-2026-44007","published":"2026-05-13","fixed":"3.11.1","kev":false,"link":{"from":"CVE-2026-44007","to":"CVE-2026-44008","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:vm2","fromFixed":"3.11.1","toFixed":"3.11.2","daysApart":0}]}},{"cve":"CVE-2026-44008","published":"2026-05-13","fixed":"3.11.2","kev":false},{"cve":"CVE-2026-44009","published":"2026-05-13","fixed":"3.11.2","kev":false},{"cve":"CVE-2026-45411","published":"2026-05-13","fixed":"3.11.3","kev":false},{"cve":"CVE-2026-47131","published":"2026-06-12","fixed":"3.11.4","kev":false}],"package":"npm:vm2"}}