What’s Vulnerable › Vulnerabilities

CVE-2026-44002: vm2: Host File Path Disclosure via Stack Trace Information Leak

Description

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 products

How to fix

Upgrade to a fixed version: patriksimek vm2 3.11.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44002 or the next vulnerability affects your stack