Cyber Posture

CVE-2026-24781

CriticalPublic PoC

Published: 04 May 2026

Published
04 May 2026
Modified
08 May 2026
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0014 33.1th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands…

more

on the host system. This issue has been patched in version 3.11.0.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly remediates the sandbox breakout vulnerability in vm2 prior to version 3.11.0 by requiring timely patching to prevent arbitrary command execution via the inspect function.

prevent

Scans for and identifies vulnerable versions of the vm2 Node.js sandbox library affected by CVE-2026-24781, enabling proactive flaw remediation.

prevent

Restricts deployment and execution of unapproved or vulnerable software such as outdated vm2 versions, mitigating risk of sandbox escape exploitation.

Security SummaryAI

CVE-2026-24781 is a sandbox breakout vulnerability in vm2, an open source virtual machine and sandbox for Node.js applications. Affecting versions prior to 3.11.0, the flaw exists in the inspect function, enabling attackers to craft code that escapes the VM2 sandbox isolation. The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-94 (Code Injection) and CWE-693 (Protection Mechanism Failure).

Remote attackers require no privileges or user interaction to exploit this issue over the network with low complexity. Successful exploitation allows arbitrary command execution on the host system, potentially leading to full compromise including high-impact confidentiality, integrity, and availability violations.

The vulnerability has been patched in vm2 version 3.11.0, as detailed in the project's GitHub security advisory (GHSA-v37h-5mfm-c47c) and release notes. Multiple commits address the issue, including 8d30d93213c1898b3e035298b89a814970dd1189, bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c, and fd266d084e0a3322d0f71ba2a8dc4c96cd030228, with users advised to upgrade immediately.

Details

CWE(s)

Affected Products

vm2 project
vm2
≤ 3.11.0

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Sandbox escape in vm2 enables remote code injection (CWE-94) leading to arbitrary command execution on the host. Directly maps to exploiting a public-facing Node.js application (T1190), JavaScript command interpreter abuse (T1059.007), and privilege escalation via isolation bypass (T1068).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

References