CVE-2026-47135 PUBLISHED

vm2: Sandbox escape via unblocked cross-realm Symbol.for keys + missing bridge write-trap symbol checks

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, Symbol.for override in setup-sandbox.js only intercepts 2 of 9 dangerous Node.js cross-realm symbols. Combined with the bridge's set/defineProperty/deleteProperty traps having no isDangerousCrossRealmSymbol key check, sandbox code can obtain real cross-realm symbols, write them to host objects, and control host-side behavior — verified with a full util.promisify hijack chain. This issue has been patched in version 3.11.4.

Metrics

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

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.4 is affected

References

Problem Types

  • CWE-693: Protection Mechanism Failure CWE