Home

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.

PUBLISHED Reserved 2026-01-26 | Published 2026-05-04 | Updated 2026-05-04 | Assigner GitHub_M




CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-693: Protection Mechanism Failure

Product status

< 3.11.0
affected

References

github.com/...ek/vm2/security/advisories/GHSA-v37h-5mfm-c47c

github.com/...ommit/8d30d93213c1898b3e035298b89a814970dd1189

github.com/...ommit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c

github.com/...ommit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228

github.com/patriksimek/vm2/releases/tag/v3.11.0

cve.org (CVE-2026-24781)

nvd.nist.gov (CVE-2026-24781)

Download JSON