Patriksimek Vm2 vulnerabilities
74 known vulnerabilities affecting patriksimek/vm2.
Total CVEs
74
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL47HIGH15MEDIUM11LOW1
Vulnerabilities
Page 1 of 4
CVE-2023-37466P2CRITICALCVSS 10.0PoCfixed in 3.10.52023-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
nvd
CVE-2023-30547P1CRITICALCVSS 10.0fixed in 3.9.172023-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
nvd
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.
nvd
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
nvd
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
nvd
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
nvd
CVE-2023-37903P2CRITICALCVSS 10.0fixed in 3.11.42023-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
nvd
CVE-2026-92946P2CRITICALCVSS 10.0fixed in 3.11.72026-09-17
CVE-2026-92946 [CRITICAL] CWE-913 CVE-2026-92946: vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled wi
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.
nvd
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
nvd
CVE-2026-92937P2CRITICALCVSS 10.0≥ 3.11.6, < 3.11.72026-09-17
CVE-2026-92937 [CRITICAL] CWE-94 CVE-2026-92937: vm2 3.11.6 is vulnerable to a sandbox escape leading to remote code execution in the host Node.js pr
vm2 3.11.6 is vulnerable to a sandbox escape leading to remote code execution in the host Node.js process. The fix for GHSA-m283-3h24-438v is incomplete: the bridge gate at lib/bridge.js:1624 identity-checks only the direct call target when deciding whether to rebuild/sanitise a rejected host Promise value. Registering the rejection handler through
nvd
CVE-2026-93605P2CRITICALCVSS 10.0fixed in 3.12.12026-09-18
CVE-2026-93605 [CRITICAL] CWE-693 CVE-2026-93605: vm2 NodeVM versions before 3.12.1 contain a sandbox escape vulnerability where the DANGEROUS_BUILTIN
vm2 NodeVM versions before 3.12.1 contain a sandbox escape vulnerability where the DANGEROUS_BUILTINS denylist omits child_process despite blocking other host-spawning modules. Attackers can require child_process and execute arbitrary commands on the host system when NodeVM is configured with builtin:['*'] or explicit child_process allowance.
nvd
CVE-2026-92940P2CRITICALCVSS 10.0≥ 3.11.3, < 3.11.72026-09-17
CVE-2026-92940 [CRITICAL] CWE-668 CVE-2026-92940: vm2 versions 3.11.3 through 3.11.6 expose the host process's real https.globalAgent to sandboxed cod
vm2 versions 3.11.3 through 3.11.6 expose the host process's real https.globalAgent to sandboxed code when a NodeVM is explicitly configured to allow require('https'). The builtin loader wraps host modules in a read-only proxy, but method calls such as Agent.prototype.on() are forwarded to the underlying host object, so sandbox code can register a
nvd
CVE-2026-47208P2CRITICALCVSS 10.0fixed in 3.11.42026-06-12
CVE-2026-47208 [CRITICAL] CWE-913 CVE-2026-47208: vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, VM2 suffers from a sandbox br
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, 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.4.
nvd
CVE-2026-93606P2CRITICALCVSS 10.0fixed in 3.12.12026-09-18
CVE-2026-93606 [CRITICAL] CWE-693 CVE-2026-93606: vm2 (npm) versions 3.12.0 and earlier contain a sandbox escape in `VM` and `NodeVM`. When an embedde
vm2 (npm) versions 3.12.0 and earlier contain a sandbox escape in `VM` and `NodeVM`. When an embedder exposes a host API that returns a host-realm Promise, the bridge's rejection sanitizer (hostPromiseSanitizeReject / makeSanitizedPromiseCallback / normalizeHostPromiseCallbacks in lib/bridge.js) only wraps `then`/`catch` rejection slots that hold
nvd
CVE-2026-92939P2CRITICALCVSS 9.9≥ 3.11.3, < 3.11.72026-09-17
CVE-2026-92939 [CRITICAL] CWE-114 CVE-2026-92939: vm2 3.11.3 through 3.11.6 exposes the host Node.js crypto module to a NodeVM sandbox when the crypto
vm2 3.11.3 through 3.11.6 exposes the host Node.js crypto module to a NodeVM sandbox when the crypto builtin is allowed. The module is presented via a recursive read-only proxy, but its callable exports still execute with host-process authority. Sandboxed JavaScript can therefore call crypto.setEngine() with a filesystem path to an attacker-suppli
nvd
CVE-2026-92938P2CRITICALCVSS 9.9≥ 3.11.3, < 3.11.72026-09-17
CVE-2026-92938 [CRITICAL] CWE-693 CVE-2026-92938: vm2 versions 3.11.3 through 3.11.6 expose Node.js's host node:sqlite module to code running in NodeV
vm2 versions 3.11.3 through 3.11.6 expose Node.js's host node:sqlite module to code running in NodeVM when that builtin is permitted, either explicitly or through builtin: ['*']. The module is wrapped with vm.readonly(), which prevents property assignment but leaves host-authority callables reachable; in addition, the resolver treats any request s
nvd
CVE-2026-22709P2CRITICALCVSS 10.0fixed in 3.11.02026-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
nvd
CVE-2026-47140P2CRITICALCVSS 10.0fixed in 3.11.42026-06-12
CVE-2026-47140 [CRITICAL] CWE-693 CVE-2026-47140: vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM blocks several dangero
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM blocks several dangerous Node.js builtins such as module, worker_threads, cluster, vm, repl, and inspector. However, the denylist misses process and inspector/promises. Both can be used from sandboxed code to reach host-side execution primitives. This allows sandboxed co
nvd
CVE-2026-93603P2CRITICALCVSS 10.0fixed in 3.12.12026-09-18
CVE-2026-93603 [CRITICAL] CWE-94 CVE-2026-93603: vm2 through 3.12.0 (fixed in 3.12.1) does not correctly handle a nullish `this` receiver in the appl
vm2 through 3.12.0 (fixed in 3.12.1) does not correctly handle a nullish `this` receiver in the apply trap of its bridge (lib/bridge.js): when sandboxed code calls a host-provided non-strict (sloppy-mode) function without a receiver — e.g. `fn()`, a detached method, `fn.call()`, `fn.apply(undefined)`, `Reflect.apply(fn, undefined, [])`, or `fn.bind
nvd
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.
nvd
1 / 4Next →