{"id":"CVE-2022-36067","aliases":["GHSA-mrgp-mrhc-5jrq"],"url":"https://o3.security/vulnerability/CVE-2022-36067","summary":"vm2 vulnerable to Sandbox Escape before v3.9.11","details":"### Impact\nA threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.\n\n### Patches\nThis vulnerability was patched in the release of version `3.9.11` of `vm2`\n\n### Workarounds\nNone. \n\n### References\nGithub Issue - https://github.com/patriksimek/vm2/issues/467\nThe file that was patched - https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71\nThe commit with the patch - https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [VM2](https://github.com/patriksimek/vm2)\n\n \n","published":"2022-09-06T00:00:00Z","modified":"2026-10-28T02:30:36.391127338Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":4,"affectedPackages":[{"ecosystem":"npm","name":"vm2","fixedVersion":"3.9.11"}],"fix":{"url":"https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164","label":"patriksimek/vm2@d9a7f3c"},"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36067.json"},{"type":"ADVISORY","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221017-0002/"},{"type":"REPORT","url":"https://github.com/patriksimek/vm2/issues/467"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"},{"type":"ARTICLE","url":"https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221017-0002"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:36.391127338Z"}}