cbcvebase.

Vm2 Project Vm2 vulnerabilities

73 known vulnerabilities affecting vm2_project/vm2.

Total CVEs
73
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL50HIGH13MEDIUM10

Vulnerabilities

Page 1 of 4
CVE-2023-37466P2CRITICALCVSS 10.0PoC≤ 3.9.192023-07-14
CVE-2023-37466 [CRITICAL] CWE-94 CVE-2023-37466: vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run
ghsanvdosv
CVE-2023-30547P1CRITICALCVSS 10.0≤ 3.9.162023-04-17
CVE-2023-30547 [CRITICAL] CWE-74 CVE-2023-30547: vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulne
ghsanvdosv
CVE-2022-36067P1CRITICALCVSS 10.0fixed in 3.9.112022-09-06
CVE-2022-36067 [CRITICAL] CWE-913 CVE-2022-36067: vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions p vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.
ghsanvdosv
CVE-2023-29017P2CRITICALCVSS 9.8fixed in 3.9.152023-04-06
CVE-2023-29017 [CRITICAL] CWE-913 CVE-2023-29017: vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to vers vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. T
ghsanvdosv
CVE-2023-32314P2CRITICALCVSS 10.0fixed in 3.9.182023-05-15
CVE-2023-32314 [CRITICAL] CWE-74 CVE-2023-32314: vm2 is a sandbox that can run untrusted code with Node's built-in modules. A sandbox escape vulnerab vm2 is a sandbox that can run untrusted code with Node's built-in modules. A sandbox escape vulnerability exists in vm2 for versions up to and including 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`. As a result a threat actor can bypass the sandbox protections to gain remote code execution rights o
ghsanvdosv
CVE-2023-29199P2CRITICALCVSS 10.0fixed in 3.9.162023-04-14
CVE-2023-29199 [CRITICAL] CWE-913 CVE-2023-29199: There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for ve There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can bypass the sandbox protections to gain remo
ghsanvdosv
CVE-2023-37903P2CRITICALCVSS 10.0≤ 3.9.192023-07-21
CVE-2023-37903 [CRITICAL] CWE-78 CVE-2023-37903: vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.j vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches an
ghsanvdosv
CVE-2026-43999P2CRITICALCVSS 9.9fixed in 3.11.02026-05-13
CVE-2026-43999 [CRITICAL] CWE-863 CVE-2026-43999: vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, NodeVM's builtin allowlist can be byp vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, NodeVM's builtin allowlist can be bypassed when the module builtin is allowed (including via the '*' wildcard). The module builtin exposes Node's Module._load(), which loads any module by name directly in the host context, completely bypassing vm2's builtin restriction. This allows san
ghsanvd
CVE-2026-92946P2CRITICAL≥ 0, < 3.11.72026-10-05
CVE-2026-92946 [CRITICAL] CWE-913 vm2: NodeVM `require.external` without an explicit `require.root` grants unrestricted host filesystem access and full RCE vm2: NodeVM `require.external` without an explicit `require.root` grants unrestricted host filesystem access and full RCE ## Summary `NodeVM`'s `require.external` option lets sandboxed code `require()` local files and npm packages. When `require.external` is enabled and `require.root` is **not explicitly set to a path that excludes `node_mo
ghsa
CVE-2026-22709P2CRITICALCVSS 10.0fixed in 3.10.22026-01-26
CVE-2026-22709 [CRITICAL] CWE-94 CVE-2026-22709: vm2 is an open source vm/sandbox for Node.js. In vm2 prior to version 3.10.2, `Promise.prototype.the vm2 is an open source vm/sandbox for Node.js. In vm2 prior to version 3.10.2, `Promise.prototype.then` `Promise.prototype.catch` callback sanitization can be bypassed. This allows attackers to escape the sandbox and run arbitrary code. In lib/setup-sandbox.js, the callback function of `localPromise.prototype.then` is sanitized, but `globalPromise.p
ghsanvdosv
CVE-2026-24781P2CRITICALCVSS 9.8fixed in 3.11.02026-05-04
CVE-2026-24781 [CRITICAL] CWE-94 CVE-2026-24781: vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox br vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
ghsanvd
CVE-2026-92937P2CRITICAL≥ 3.11.6, < 3.11.72026-10-01
CVE-2026-92937 [CRITICAL] CWE-693 vm2: GHSA-m283-3h24-438v fix bypass leads to host RCE via call/apply indirection vm2: GHSA-m283-3h24-438v fix bypass leads to host RCE via call/apply indirection ## Summary Untrusted JavaScript run by vm2 can escape the sandbox and execute arbitrary commands in the host Node.js process when an embedder-exposed host Promise rejects. This is an incomplete fix for GHSA-m283-3h24-438v: the advisory's capability-bearing rejection rebuild runs only through this dire
ghsa
CVE-2026-92940P2CRITICAL≥ 3.11.3, < 3.11.72026-10-01
CVE-2026-92940 [CRITICAL] CWE-668 vm2 exposes host HTTPS credentials and TLS traffic through globalAgent vm2 exposes host HTTPS credentials and TLS traffic through globalAgent Summary vm2 3.11.6 exposes the host process's real `https.globalAgent` when a `NodeVM` is explicitly allowed to require `https`. The module is wrapped as read-only, but calls to methods on the shared agent still mutate the host object. Sandbox code can register a `free` listener and receive host request options and the h
ghsa
CVE-2026-26332P2CRITICALCVSS 10.0fixed in 3.11.02026-05-04
CVE-2026-26332 [CRITICAL] CWE-94 CVE-2026-26332: vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, SuppressedError allows attack vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, SuppressedError allows attackers to escape the sandbox and run arbitrary code. This issue has been patched in version 3.11.0.
ghsanvd
CVE-2026-24118P2CRITICALCVSS 9.8fixed in 3.11.02026-05-04
CVE-2026-24118 [CRITICAL] CWE-94 CVE-2026-24118: vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox br vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
ghsanvd
CVE-2026-45411P2CRITICALCVSS 9.8fixed in 3.11.32026-05-13
CVE-2026-45411 [CRITICAL] CWE-668 CVE-2026-45411: vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.3, it is possible to catch a host except vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.3, it is possible to catch a host exception using the yield* expression inside an async generator. When the generator is closed using the return function, the value is awaited on and exceptions thrown in the then call will be caught by the runtime and passed to the yield* iterator as the
ghsanvd
CVE-2026-47208P2CRITICAL≥ 0, < 3.11.42026-05-29
CVE-2026-47208 [CRITICAL] CWE-913 vm2 is Vulnerable to Sandbox Breakout Through Promise Species vm2 is Vulnerable to Sandbox Breakout Through Promise Species ### Summary VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. ### Details The `localPromise` constructor was changed to call `this.then(undefined, eater)` to ensure a rejected promise is always used. However, thi
ghsa
CVE-2026-26956P2CRITICALCVSS 9.8fixed in 3.10.52026-05-04
CVE-2026-26956 [CRITICAL] CWE-693 CVE-2026-26956: vm2 is an open source vm/sandbox for Node.js. In version 3.10.4, vm2 is vulnerable to full sandbox e vm2 is an open source vm/sandbox for Node.js. In version 3.10.4, vm2 is vulnerable to full sandbox escape with arbitrary code execution. Attacker code inside VM.run() obtains host process object and runs host commands with zero host cooperation. This issue has been patched in version 3.10.5.
ghsanvd
CVE-2026-44008P2CRITICALCVSS 9.8fixed in 3.11.22026-05-13
CVE-2026-44008 [CRITICAL] CWE-668 CVE-2026-44008: vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpecies 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 attack
ghsanvd
CVE-2026-92938P2CRITICAL≥ 3.11.3, < 3.11.72026-10-01
CVE-2026-92938 [CRITICAL] CWE-693 vm2 allows a sandboxed plugin to execute native code through `node:sqlite` vm2 allows a sandboxed plugin to execute native code through `node:sqlite` ### Summary vm2 3.11.6 exposes Node.js's host `node:sqlite` module to `NodeVM` code when that builtin is allowed explicitly or through `builtin: ['*']`. The module is wrapped as read-only, but callable methods retain host-process authority. A sandboxed plugin can construct an in-memory database with extension loa
ghsa
Vm2 Project Vm2 vulnerabilities | cvebase