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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v27g-jcqj-v8rw Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.8 · vm2_projectNVD modified 2026-10-26 17:10
Affected (CPE criteria) 1
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*
References 1
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v27g-jcqj-v8rw Exploit, Vendor Advisory