CVE Catalog

CVE-2026-44000

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

In vm2 prior to 3.11.0, a sandbox boundary violation allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value delivered to the sandbox .then() callback preserves host identity, allowing the sandbox to interact with the host object directly, including performing identity checks using host-side WeakMap and mutating host object state.

Risk Assessment

Malicious code in the sandbox can escape isolation and modify host objects, undermining sandbox security. This may lead to unauthorized operations in the host context.

Recommendation

Update vm2 to version 3.11.0 or later. If possible, avoid exposing host Promises to untrusted sandboxed code.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox boundary violation in vm2 allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value delivered to the sandbox .then() callback preserves host identity. This allows the sandbox to interact with the host object directly, including performing identity checks using host-side WeakMap and mutating host object state from inside the sandbox. This behavior occurs because the Promise fulfillment wrapper uses ensureThis() instead of the stronger cross-realm conversion path (from() / proxy wrapping). If no prototype mapping is found, ensureThis() returns the original object. As a result, objects resolved by host Promises can cross the sandbox boundary without proper isolation. This vulnerability is fixed in 3.11.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS