{"id":"GHSA-hc6q-4vvg-jf79","revision":"5ba5eb0d57c143ec893fa39e4ab31568","records":[{"revision":"5ba5eb0d57c143ec893fa39e4ab31568","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hc6q-4vvg-jf79","aliases":[],"title":"Duplicate Advisory: vm2 CLI provides no sandbox isolation - host-realm require() is reachable from sandboxed scripts","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-jxxv-8r27-vm4p. This link is maintained to preserve external references.\n\n## Original Description\nvm2 before 3.11.7 contains a sandbox escape vulnerability in the CLI tool that allows attackers to execute arbitrary code in the host Node.js process. Attackers can supply a malicious script file to the vm2 CLI that uses require(__filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and child_process.","state":2,"publishedAt":"2026-09-17T15:32:16+00:00","modifiedAt":"2026-10-01T15:45:06.7377904+00:00","affected":[{"ecosystem":"npm","name":"vm2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"3.11.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-jxxv-8r27-vm4p","https://nvd.nist.gov/vuln/detail/CVE-2026-92950","https://www.vulncheck.com/advisories/vm2-before-3.11.7-sandbox-escape-via-cli-require"],"sourceUrl":"https://github.com/advisories/GHSA-hc6q-4vvg-jf79","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hc6q-4vvg-jf79","identifiers":["GHSA-hc6q-4vvg-jf79"]},"retained":false,"historicalAffected":[]}],"coverage":[]}