CVE-2026-47131 PUBLISHED

vm2: Sandbox Escape

Assigner: GitHub_M
Reserved: 18.05.2026 Published: 12.06.2026 Updated: 12.06.2026

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, by combining Buffer.call.call({}.lookupGetter, Buffer, "proto"), Buffer.call.call({}.lookupSetter, Buffer, "proto"), and Node.js's ERR_INVALID_ARG_TYPE Error, the host's TypeError constructor can be obtained, which allows the escape from the sandbox. This allows attackers to run arbitrary code. This issue has been patched in version 3.11.4.

Metrics

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

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.4 is affected

References

Problem Types

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