CVE-2026-47698

vm2: Sandbox Breakout Using Dangerous Host Proto Mutators

State
Published
Severity
9.8 Critical
Published
Aug 17, 2026
Updated
Aug 19, 2026
Reserved
May 19, 2026

Read the record on cve.org

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.

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

Weaknesses

  • CWE-913 Improper Control of Dynamically-Managed Code Resources

Affected Products

ProductVersions
vm2patriksimek
  • < 3.11.6Affected

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.