CVE-2026-92955: vm2: Sandbox Escape (NodeVM)
It being possible to obtain the host __proto__ getter/setter, has been used in many reports:
- https://github.com/patriksimek/vm2/security/advisories/GHSA-vwrp-x96c-mhwq
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v6mx-mf47-r5wg
- https://github.com/patriksimek/vm2/security/advisories/GHSA-grj5-jjm8-h35p
- https://github.com/patriksimek/vm2/security/advisories/GHSA-47x8-96vw-5wg6
Yet it was never patched…
This can, still, be used to escape the sandbox, one example (I’m sure there’s other ways as well), is via console._stdout/console._stderr (NodeVM with console: 'inherit', which is the default)
References
- github.com/advisories/GHSA-88hf-g992-jg85
- github.com/patriksimek/vm2/blob/v3.11.7/lib/bridge.js
- github.com/patriksimek/vm2/blob/v3.11.7/lib/setup-node-sandbox.js
- github.com/patriksimek/vm2/commit/22a43704c04b66823b4064b8a16fe1ad54ad0290
- github.com/patriksimek/vm2/releases/tag/v3.11.8
- github.com/patriksimek/vm2/security/advisories/GHSA-88hf-g992-jg85
- nvd.nist.gov/vuln/detail/CVE-2026-92955
- www.vulncheck.com/advisories/vm2-before-3.11.8-sandbox-escape-via-nodevm
Code Behaviors & Features
Detect and mitigate CVE-2026-92955 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →