What’s Vulnerable › Vulnerabilities
CVE-2026-44002: vm2: Host File Path Disclosure via Stack Trace Information Leak
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-13 · updated 2026-10-26
- Weakness: CWE-209
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
- patriksimek vm2: before 3.11.0 — fixed in 3.11.0
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