CVE-2026-26956 vm2: WASM Sandbox Escape (Node 25 only)

Critical 9.8 Published Updated

Attackers can escape the vm2 sandbox to execute arbitrary code on the host system via WASM in Node 25.

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

What is CVE-2026-26956?

CVE-2026-26956 is a critical code injection vulnerability in patriksimek vm2, published on 4 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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 version 3.10.5.

Weakness: CWE-653, CWE-693

Which versions are affected by CVE-2026-26956?

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

PackageAffectedFixed in
vm2 npmAll versions3.10.5
vm2 npmAll versions3.10.5

Products include Vm2 Project Vm2.

How do I fix CVE-2026-26956?

Upgrade vm2 to 3.10.5 or later.

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

Is CVE-2026-26956 being exploited?

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

Sources

Also known as GHSA-ffh4-j6h5-pg66, ROOT-APP-NPM-CVE-2026-26956.

Is CVE-2026-26956 in your software?

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

Check your SBOMs for free