CVE-2026-47698 PUBLISHED

vm2: Sandbox Breakout Using Dangerous Host Proto Mutators

Assigner: GitHub_M
Reserved: 19.05.2026 Published: 17.08.2026 Updated: 17.08.2026

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.

Metrics

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

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.6 is affected

References

Problem Types

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