VYPR

npm package

vm2

pkg:npm/vm2

Vulnerabilities (36)

  • CVE-2026-47209HigJun 12, 2026
    affected < 3.11.4fixed 3.11.4

    vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, the BaseHandler.set trap in bridge.js (line 1231) ignores the receiver parameter and unconditionally writes to the host target object. Per the Proxy set trap specification, when receiver !== proxy (e.g., when

  • CVE-2026-47141MedJun 12, 2026
    affected < 3.11.4fixed 3.11.4

    vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM exposes some process-wide observability builtins when they are allowed through require.builtin. The diagnostics_channel, async_hooks, and perf_hooks builtins are not blocked by the dangerous builtin den

  • CVE-2026-47139HigJun 12, 2026
    affected < 3.11.4fixed 3.11.4

    vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM supports excluding public network builtins from the wildcard builtin option. With this configuration direct access to http, https, http2, net, dgram, tls, dns, and dns/promises is blocked. However, Node

  • CVE-2026-47135HigJun 12, 2026
    affected < 3.11.4fixed 3.11.4

    vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, Symbol.for override in setup-sandbox.js only intercepts 2 of 9 dangerous Node.js cross-realm symbols. Combined with the bridge's set/defineProperty/deleteProperty traps having no isDangerousCrossRealmSymbol ke

  • CVE-2026-45411CriMay 13, 2026
    affected < 3.11.3fixed 3.11.3

    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 wi

  • CVE-2026-44009CriMay 13, 2026
    affected < 3.11.2fixed 3.11.2

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, This vulnerability is fixed in 3.11.2.

  • CVE-2026-44008CriMay 13, 2026
    affected < 3.11.2fixed 3.11.2

    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

  • CVE-2026-44007CriMay 13, 2026
    affected < 3.11.1fixed 3.11.1

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a

  • CVE-2026-44006CriMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, It is possible to reach BaseHandler.getPrototypeOf, which can be used to get arbitrary prototypes. This vulnerability is fixed in 3.11.0.

  • CVE-2026-44005CriMay 13, 2026
    affected >= 3.9.6, < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. From 3.9.6 to 3.10.5, vm2's bridge exposes mutable proxies for real host-realm intrinsic prototypes and then forwards sandbox writes into the underlying host objects with otherReflectSet() and otherReflectDefineProperty(), which lets

  • CVE-2026-44004HigMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, sandboxed code can call Buffer.alloc() with an arbitrary size to allocate memory directly on the host heap. Because Buffer.alloc is a synchronous C++ native call, vm2's timeout option cannot interrupt it. A single req

  • CVE-2026-44003MedMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's code transformer has a performance optimization that skips AST analysis when the code does not contain catch, import, or async keywords. This fast-path bypass allows sandboxed code to directly access the interna

  • CVE-2026-44002MedMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths.

  • CVE-2026-44001HigMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox escape vulnerability in vm2 v3.10.5 allows any sandboxed code to crash the host Node.js process via a single Promise constructor that triggers an unhandled rejection propagating to the host. The fix for CVE-

  • CVE-2026-44000MedMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox boundary violation in vm2 allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value d

  • CVE-2026-43999CriMay 13, 2026
    affected >= 3.10.5, < 3.11.0fixed 3.11.0

    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 con

  • CVE-2026-43998HigMay 13, 2026
    affected >= 3.10.5, < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve()

  • CVE-2026-43997CriMay 13, 2026
    affected < 3.11.0fixed 3.11.0

    vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, it is possible to obtain the host Object. There are various ways to use the host Object, to escape the sandbox, one example would be using HostObject.getOwnPropertySymbols to obtain Symbol(nodejs.util.inspect.custom).

  • CVE-2026-26956CriMay 4, 2026
    affected >= 3.10.4, < 3.10.5fixed 3.10.5

    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 ver

  • CVE-2026-26332CriMay 4, 2026
    affected < 3.11.0fixed 3.11.0

    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.

Page 1 of 2