Critical vm2 Node.js sandbox flaw (CVE-2026–26956) enables host code execution
A critical vulnerability in the vm2 Node.js library allows attackers to execute arbitrary code on host systems, necessitating immediate upgrades.

A critical vulnerability in the popular vm2 Node.js sandboxing library could allow attackers to escape the sandbox and execute arbitrary code on the underlying host system.
The issue is tracked as CVE-2026-26956. It has been confirmed to impact vm2 version 3.10.4, and earlier releases may also be affected.
Who is affected According to the maintainer’s advisory, the flaw impacts environments running Node.js 25 (confirmed on Node.js 25.6.1) where WebAssembly exception handling and JSTag support are enabled.
How the escape works The vulnerability stems from vm2’s handling of exceptions that cross between the sandboxed context and the host. While vm2 relies on JavaScript-level protections to isolate untrusted code, WebAssembly exception handling can intercept JavaScript errors at a lower level inside the V8 engine, bypassing vm2’s defenses.
By triggering a specially crasourcesed error, an attacker can cause a host-side error object to leak into the sandbox without being sanitized. The leaked object can then be abused to access Node.js internals (such as the process object), enabling command execution on the host.
Proof-of-concept exploit code has been published.
Mitigation Users are advised to upgrade to vm2 version 3.10.5 or later to reduce the risk of exploitation.
The disclosure follows previous sandbox-escape flaws in vm2, underscoring the difficulty of securely isolating untrusted code in JavaScript sandbox environments.
More stories
- Europe faces attribution gap after 16 cyber, physical incidents
- PIF backs Grand Theft Auto as Saudi players embrace game
- Signal limits screenshots to curb AI access to messages
- Cognition runs Devin Mac workspaces on EC2 in 6 AWS regions
- Salesforce engineers cut 600-failure triage to 90 minutes
- Türkiye Desk: GTA 6 puts console access and network demand in focus
- AI Chipmaker Cerebras Systems Aims for $3.5B in IPO
- AWS data centers damaged by alleged Iran attacks
Latest news
- Macy’s parade faces balloon limits as storm winds approach
- COP31 climate talks collapse over fossil fuels and funds
- Highly diversified investors report 91% confidence in retirement
- Russian military faces 1,087 recorded suicides in Ukraine war
- US faces China, Russia in Africa minerals contest
- Russian war deaths top 460,000, Guardian says
- Nvidia board gets Trump input on Jensen Huang return as CEO
- Rwanda faces budget strain from 85% electricity access push

