vm2: Host File Path Disclosure via Stack Trace Information Leak (patriksimek vm2)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % Β· percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-209 β Generation of Error Message Containing Sensitive Information
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-v27g-jcqj-v8rw β vm2 is Vulnerable to Host File Path Disclosure via Stack Trace Information Leak
European references
- ENISA EUVD Β· EUVD-2026-30072
- GCVE Β· GCVE-0-2026-44002
Affected configurations (NVD CPE)
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*< 3.11.0
Affected products
| Product | Versions |
|---|---|
| patriksimek Β· vm2 | affected < 3.11.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |