Live threats

All CVEs / Vm2 Project

CVE-2026-43998Vm2 Project Vm2

High 8.5

Priority
51
CVSS 3.1
8.5
EPSS
—
Auth required
Yes
Published
May 13, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve() (which does not dereference symlinks) but module loading uses Node's native require() (which does), an attacker can load arbitrary host-realm modules and achieve remote code execution. This vulnerability is fixed in 3.11.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vm2.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vm2 ≥ 3.10.5 < 3.11.0 3.11.0 npm install vm2@3.11.0

Per OSV / GitHub Advisories (GHSA-cp6g-6699-wx9c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vm2_projectvm23.10.5

Official sources

References

Links published by the sources. Open them with care.