CVE-2026-44007 vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution

Critical 9.1 Published Updated

Attackers can escape the sandbox and execute arbitrary OS commands if nesting is enabled, regardless of require restrictions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44007?

CVE-2026-44007 is a critical code injection vulnerability in patriksimek vm2, published on 13 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-1100, CWE-284

Which versions are affected by CVE-2026-44007?

2 open source packages ship an affected version, including vm2. It affects 1 product.

PackageAffectedFixed in
vm2 npmAll versions3.11.1
vm2 npmAll versions3.11.1

Products include Vm2 Project Vm2.

How do I fix CVE-2026-44007?

Upgrade vm2 to 3.11.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-44007 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44007 exists.

Sources

Also known as ECHO-fd8b-b31c-648d, GHSA-8hg8-63c5-gwmx, ROOT-APP-NPM-CVE-2026-44007.

Is CVE-2026-44007 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free