CVE-2026-24781

vm2: Sandbox Breakout Through Inspect

State
Published
Severity
9.8 Critical
Published
May 4, 2026
Updated
Jul 15, 2026
Reserved
Jan 26, 2026

Read the record on cve.org

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 on the host system. This issue has been patched in version 3.11.0.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-693 Protection Mechanism Failure
  • CWE-653 Improper Isolation or Compartmentalization

Affected Products

ProductVersions
vm2patriksimek
  • < 3.11.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.