high8.6
CVE-2026-92950
vm2 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.
Impact
vm2 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | vm2 | <= 3.11.6 | 3.11.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jxxv-8r27-vm4p
- https://github.com/patriksimek/vm2/security/advisories/GHSA-jxxv-8r27-vm4p
- https://nvd.nist.gov/vuln/detail/CVE-2026-92950
- https://github.com/patriksimek/vm2/commit/903017c8a1eae9aba947ec854468b48155e79f86
- https://github.com/patriksimek/vm2/releases/tag/v3.11.7
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-sandbox-escape-via-cli-require