VulnSea

vm2 vulnerabilities

CVEs whose affected-version data names the vm2 package (npm). Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

84 CVEsRSS

GHSA-28q4-xrqh-9479Critical· 9.9
1mo ago

Duplicate Advisory: vm2: NodeVM node:-prefixed negative builtin deny bypass exposes child_process

Duplicate Advisory: vm2: NodeVM node:-prefixed negative builtin deny bypass exposes child_process

▾ Midnightvm2 · vm2via GHSA
GHSA-7c3p-84r8-h79qHigh· 8.5
1mo ago

Duplicate Advisory: vm2: NodeVM builtin denylist bypass via fs/promises despite -fs, allowing host filesystem writes

Duplicate Advisory: vm2: NodeVM builtin denylist bypass via fs/promises despite -fs, allowing host filesystem writes

▾ Twilightvm2 · vm2via GHSA
GHSA-6fvh-fgmg-3x7vCritical· 9.9
1mo ago

Duplicate Advisory: vm2 Custom Module Resolver Can Bypass the External Package Allowlist by Loading a Colliding Host Package

Duplicate Advisory: vm2 Custom Module Resolver Can Bypass the External Package Allowlist by Loading a Colliding Host Package

▾ Midnightvm2 · vm2via GHSA
GHSA-hc6q-4vvg-jf79Critical· 8.6
1mo ago

Duplicate Advisory: vm2 CLI provides no sandbox isolation - host-realm require() is reachable from sandboxed scripts

Duplicate Advisory: vm2 CLI provides no sandbox isolation - host-realm require() is reachable from sandboxed scripts

▾ Midnightvm2 · vm2via GHSA
GHSA-5843-9mh5-hhgwCritical· 10.0
1mo ago

Duplicate Advisory: vm2 exposes host HTTPS credentials and TLS traffic through globalAgent

Duplicate Advisory: vm2 exposes host HTTPS credentials and TLS traffic through globalAgent

▾ Midnightvm2 · vm2via GHSA
GHSA-wqg3-r97q-73xmCritical· 9.9
1mo ago

Duplicate Advisory: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape

Duplicate Advisory: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape

▾ Midnightvm2 · vm2via GHSA
GHSA-hmpr-c9rf-qcrfHigh· 6.8
1mo ago

Duplicate Advisory: Incomplete nodejs.* symbol filtering lets sandbox override host WebStream state checks

Duplicate Advisory: Incomplete nodejs.* symbol filtering lets sandbox override host WebStream state checks

▾ Twilightvm2 · vm2via GHSA
CVE-2026-92963Medium· 5.3PoC
1mo ago

vm2 versions before 3.11.2 fail to properly restrict access to the VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL global variable

vm2 versions before 3.11.2 fail to properly restrict access to the VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL global variable. Attackers can access this internal state object through globalThis to retrieve sensitive sandbox inter…

▾ Twilightpatriksimek · vm2EPSS 0.34%via NVD
CVE-2026-92962Low· 2.1PoC
1mo ago

vm2 is a sandbox for running untrusted JavaScript

vm2 is a sandbox for running untrusted JavaScript. In vm2 versions up to and including 3.11.3, the defaultSandboxPrepareStackTrace function in lib/setup-sandbox.js builds its output array using prototype-walking index assignment (lines[l…

▾ Twilightpatriksimek · vm2EPSS 0.15%via NVD
CVE-2026-92961High· 7.5
1mo ago

vm2 before 3.11.6 fails to enforce bufferAllocLimit on ArrayBuffer, SharedArrayBuffer, and TypedArray constructors, allowing attackers to allocate arbitrary host memory

vm2 before 3.11.6 fails to enforce bufferAllocLimit on ArrayBuffer, SharedArrayBuffer, and TypedArray constructors, allowing attackers to allocate arbitrary host memory. Attackers can bypass the buffer allocation cap by using these V8 in…

▾ Twilightpatriksimek · vm2EPSS 0.53%via NVD
CVE-2026-92960Critical· 10.0PoC
1mo ago

vm2 before 3.11.6 fails to restrict access to os and dns builtins under the builtin: ['*'] configuration, allowing sandbox code to read host process identity and network topology

vm2 before 3.11.6 fails to restrict access to os and dns builtins under the builtin: ['*'] configuration, allowing sandbox code to read host process identity and network topology. Attackers can invoke dns.setServers() to hijack the host …

▾ Abyssalpatriksimek · vm2EPSS 0.47%via NVD
CVE-2026-92959High· 7.1PoC
1mo ago

vm2 before 3.11.8 does not fully enforce the allowAsync: false option in VM and NodeVM

vm2 before 3.11.8 does not fully enforce the allowAsync: false option in VM and NodeVM. While localPromise.prototype.then is replaced with a handler that throws 'Async not available', the sandbox's Promise static methods (Promise.resolve…

▾ Midnightpatriksimek · vm2EPSS 0.45%via NVD
CVE-2026-92958High· 8.5PoC
1mo ago

vm2 through 3.11.6 contains a builtin-module denylist bypass in NodeVM

vm2 through 3.11.6 contains a builtin-module denylist bypass in NodeVM. When the embedder uses the builtin wildcard together with negative entries (e.g. require: { builtin: ['*', '-fs', '-child_process'] }), negative entries are matched …

▾ Midnightpatriksimek · vm2EPSS 0.38%via NVD
CVE-2026-92957Critical· 9.9PoC
1mo ago

vm2 through 3.11.6 does not normalize `node:`-prefixed builtin specifiers when evaluating user-supplied negative (deny) entries in a NodeVM wildcard require policy

vm2 through 3.11.6 does not normalize `node:`-prefixed builtin specifiers when evaluating user-supplied negative (deny) entries in a NodeVM wildcard require policy. Although NodeVM strips the `node:` prefix during require() resolution, n…

▾ Abyssalpatriksimek · vm2EPSS 0.54%via NVD
CVE-2026-92956Critical· 10.0PoC
1mo ago

vm2 versions 3.10.1 through 3.11.6 contain a sandbox escape reachable from a default `new VM()` sandbox when running on Node.js 26

vm2 versions 3.10.1 through 3.11.6 contain a sandbox escape reachable from a default `new VM()` sandbox when running on Node.js 26. WebAssembly.compileStreaming and WebAssembly.instantiateStreaming can produce a raw host-realm Promise th…

▾ Abyssalpatriksimek · vm2EPSS 0.59%via NVD
CVE-2026-92955Critical· 10.0PoC
1mo ago

vm2 before 3.11.8 contains a sandbox escape vulnerability in NodeVM that allows attackers to access the host __proto__ getter/setter through console._stdout and console._stderr

vm2 before 3.11.8 contains a sandbox escape vulnerability in NodeVM that allows attackers to access the host __proto__ getter/setter through console._stdout and console._stderr. Attackers can overwrite EventEmitter.prototype.emit and tri…

▾ Abyssalpatriksimek · vm2EPSS 0.71%via NVD
CVE-2026-92954High· 8.6PoC
1mo ago

vm2 is a sandbox library for running untrusted JavaScript in Node.js

vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and <= 3.11.7, Promises returned from the host realm into the sandbox are not marked as handled at the bridge boundary; only Promises created ins…

▾ Midnightpatriksimek · vm2EPSS 0.49%via NVD
CVE-2026-92953Critical· 10.0PoC
1mo ago

vm2 versions from 3.11.0 before 3.11.8 fail to protect host TypedArray and ArrayBuffer prototypes from sandbox mutation

vm2 versions from 3.11.0 before 3.11.8 fail to protect host TypedArray and ArrayBuffer prototypes from sandbox mutation. Attackers can use prototype-walking primitives to reach and modify host Uint8Array.prototype, %TypedArray%.prototype…

▾ Abyssalpatriksimek · vm2EPSS 0.50%via NVD
CVE-2026-92952Medium· 6.8PoC
1mo ago

vm2 versions 3.11.4 through 3.11.6 incompletely filter Node.js registered internal symbols across the sandbox boundary

vm2 versions 3.11.4 through 3.11.6 incompletely filter Node.js registered internal symbols across the sandbox boundary. The extraction filters in lib/setup-sandbox.js and the cross-realm symbol checks and write traps in lib/bridge.js use…

▾ Twilightpatriksimek · vm2EPSS 0.46%via NVD
CVE-2026-92951Critical· 9.9
1mo ago

vm2 before 3.11.7 contains an incorrect authorization vulnerability in the external package allowlist check that uses non-exact substring matching instead of full package-name boundary validation

vm2 before 3.11.7 contains an incorrect authorization vulnerability in the external package allowlist check that uses non-exact substring matching instead of full package-name boundary validation. Attackers can bypass the allowlist by re…

▾ Midnightpatriksimek · vm2EPSS 0.54%via NVD
CVE-2026-92950High· 8.6PoC
1mo ago

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

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(__filena…

▾ Midnightpatriksimek · vm2EPSS 0.20%via NVD
CVE-2026-92949Medium· 4.0PoC
1mo ago

vm2 versions from 3.9.6 before 3.11.7 fail to properly restrict access to accessor properties on frozen objects, allowing sandboxed scripts to bypass vm.freeze() and vm.readonly() protections

vm2 versions from 3.9.6 before 3.11.7 fail to properly restrict access to accessor properties on frozen objects, allowing sandboxed scripts to bypass vm.freeze() and vm.readonly() protections. Attackers can use Object.getOwnPropertyDescr…

▾ Twilightpatriksimek · vm2EPSS 0.32%via NVD
CVE-2026-92948Critical· 9.9PoC
1mo ago

vm2 versions >= 3.9.6 and <= 3.11.6 are affected by a NodeVM builtin allowlist bypass that permits a sandbox escape on Node.js 24 and newer when the embedder explicitly allows the node:test builtin (e.g

vm2 versions >= 3.9.6 and <= 3.11.6 are affected by a NodeVM builtin allowlist bypass that permits a sandbox escape on Node.js 24 and newer when the embedder explicitly allows the node:test builtin (e.g. require: { builtin: ['node:test']…

▾ Abyssalpatriksimek · vm2EPSS 0.65%via NVD
CVE-2026-92947Critical· 10.0PoC
1mo ago

vm2 before 3.11.7 exposes Node's shared Buffer pool to sandboxed code, allowing disclosure of host memory used by Buffer.from, Buffer.concat, and related allocations

vm2 before 3.11.7 exposes Node's shared Buffer pool to sandboxed code, allowing disclosure of host memory used by Buffer.from, Buffer.concat, and related allocations. Sandboxed code can read and write to host-realm buffers by acquiring A…

▾ Abyssalpatriksimek · vm2EPSS 0.48%via NVD
CVE-2026-92946Critical· 10.0
1mo ago

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

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 Node…

▾ Midnightpatriksimek · vm2EPSS 0.86%via NVD
CVE-2026-92945Medium· 4.2
1mo ago

vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison

vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison. Attackers can reach non-allowlisted packages sharing a prefix with…

▾ Sunlitpatriksimek · vm2EPSS 0.28%via NVD
CVE-2026-92944Critical· 9.8PoC
1mo ago

vm2 versions 3.10.2 through 3.11.6 contain a sandbox escape vulnerability on Node.js 26 where Promise.prototype.finally() bypasses vm2's wrapper protections due to a stale PromiseThenLookupChain protector in V8 14.6

vm2 versions 3.10.2 through 3.11.6 contain a sandbox escape vulnerability on Node.js 26 where Promise.prototype.finally() bypasses vm2's wrapper protections due to a stale PromiseThenLookupChain protector in V8 14.6. Attackers can exploi…

▾ Abyssalpatriksimek · vm2EPSS 0.84%via NVD
CVE-2026-92942High· 7.5PoC
1mo ago

vm2 before 3.11.7 (affected versions <= 3.11.6) does not enforce the VM({ timeout }) option on code executed outside the synchronous VM#run() call

vm2 before 3.11.7 (affected versions <= 3.11.6) does not enforce the VM({ timeout }) option on code executed outside the synchronous VM#run() call. The timeout only wraps the single call to _runScript() via doWithTimeout() in lib/vm.js, …

▾ Midnightpatriksimek · vm2EPSS 0.49%via NVD
CVE-2026-92941Critical· 10.0PoC
1mo ago

vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM sandbox code, allowing attackers to call tls.setDefaultCACertificates() and replace process-wide certificate authorities

vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM sandbox code, allowing attackers to call tls.setDefaultCACertificates() and replace process-wide certificate authorities. Attackers with access to allowed tls an…

▾ Abyssalpatriksimek · vm2EPSS 0.29%via NVD
CVE-2026-92940Critical· 10.0
1mo ago

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')

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 metho…

▾ Midnightpatriksimek · vm2EPSS 0.47%via NVD
vm2 vulnerabilities (CVEs) — page 2 · VulnSea