CRITICAL🇵🇱 Wersja polska

CVE-2026-44007

CVSS 9.1v3.1pub. 2026-05-13upd. 2026-08-06

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 new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.

🤖 AI Analysis
How it works

When NodeVM is created with the nesting: true option, code inside the sandbox can unconditionally call require('vm2') — regardless of the external virtual machine configuration, even when require: false is set. By gaining access to the vm2 module this way, malicious code creates a new, internal NodeVM instance with its own unrestricted require settings. This allows loading of arbitrary system modules and execution of unrestricted OS commands on the host machine.

Impact

An attacker can fully compromise the host application running the sandbox — execute arbitrary commands at the operating system level (RCE), gain access to data, modify the system, or install malicious software.

Mitigation & patch

The vm2 library must be updated to version 3.11.1 or newer, in which the vulnerability has been fixed. Until the update is applied, avoid using the nesting: true option in NodeVM when running untrusted code.

Who is affected

The vm2 library for Node.js in versions preceding 3.11.1, when NodeVM is run with the nesting: true option.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Vm2 Project Vm2

    APP
    Vm2 Project
    < 3.11.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-44005CRITICAL10.0PL ✓same product

vm2: mutacja prototypów hosta z poziomu sandbox (prototype pollution)

CVE-2026-44006CRITICAL10.0PL ✓same product

vm2 (Node.js): ucieczka z sandbox przez BaseHandler.getPrototypeOf (RCE)

CVE-2026-43997CRITICAL10.0PL ✓same product

Ucieczka z sandboxa w bibliotece vm2 dla Node.js (RCE)

CVE-2026-43999CRITICAL9.9PL ✓same product

vm2: ominięcie listy dozwolonych modułów i RCE przez builtin 'module'

CVE-2026-44008CRITICAL9.8PL ✓same product

Ucieczka z sandboxu vm2 poprzez getter na prototypie tablicy