Read the docs

vm2 before 3.12.2 Host Process Termination via Construct Trap

Priority HIGH 72CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-248.

Summary

vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with `new` and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Node's strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00315 24th percentileScored 2026-11-07
Fix Partial vm2 (patriksimek): 3.12.2vm2 (npm): 3.12.2Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
patriksimekvm2before 3.12.23.12.2Patch availableCNA
—vm2 (npm)before 3.12.23.12.2Patch availableGHSA-2v2p-6j97-cjg9
  • vm2 Vendorpatriksimek Affected before 3.12.2 Fixed in 3.12.2 Patch available CNA
  • vm2 (npm) Vendor— Affected before 3.12.2 Fixed in 3.12.2 Patch available GHSA-2v2p-6j97-cjg9

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:*:*:*——patriksimek
  • cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:*:*:* Versions — — ·patriksimek

Remediation

  • Fix · CNA vm2 (patriksimek) Fixed in 3.12.2
  • Fix · GHSA-2v2p-6j97-cjg9 vm2 (npm) Fixed in 3.12.2 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    patriksimek vm2 3.12.2

    3 records Highest priority Priority HIGH 2 HIGH, 1 MEDIUM

    Other records, highest priority first

    • TI-2026-64877 vm2 before 3.12.2 Authorization Bypass via Custom ResolverPriority HIGH 76
    • TI-2026-64879 vm2 before 3.12.2 Memory Disclosure via zlib Buffer PoolPriority MEDIUM 64

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Self-service automation portal 2AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-100722
  2. 2026-10-03 Alias added: GHSA-7rr2-8fr3-fjqx
  3. 2026-10-06 Alias added: GHSA-2v2p-6j97-cjg9
  4. 2026-10-06 Fix available: npm/[email protected] · GHSA-2v2p-6j97-cjg9
  5. 2026-10-06 CVSS score added · GHSA-2v2p-6j97-cjg9
  6. 2026-10-06 Weakness changed · GHSA-2v2p-6j97-cjg9
  7. 2026-10-06 5 new references · GHSA-2v2p-6j97-cjg9
  8. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2023-14382 Sandbox Escape in vm2 CVSS 3.1CRITICAL 10.0
  • TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
  • TI-2026-63070 vm2 before 3.12.1 Sandbox Escape via Promise Symbol.species CVSS 4.0CRITICAL 10.0
  • TI-2026-63067 vm2 before 3.12.1 Sandbox Escape RCE via Non-Strict Host Function CVSS 4.0CRITICAL 10.0
  • TI-2026-62623 vm2 before 3.11.6 Process-wide State Exposure via os and dns CVSS 4.0CRITICAL 10.0
  • TI-2026-62618 vm2 before 3.11.8 Sandbox Escape via NodeVM CVSS 4.0CRITICAL 10.0
See all 80 →

Sources