NetSight
medium5.8

CVE-2026-44002

vm2 is Vulnerable to Host File Path Disclosure via Stack Trace Information Leak

Impact

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths. Any sandboxed code can extract the full directory structure, library paths, and framework versions of the host server. This vulnerability is fixed in 3.11.0.

Affected packages

EcosystemPackageAffectedFixed in
npmvm2<= 3.10.53.11.0

Affected products

VendorProductAffected versions
Vm2 ProjectVm2
before 3.11.0

Weakness classification

References