vm2: Host File Path Disclosure via Stack Trace Information Leak
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44002
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 09:32 UTC · Revision 1
Source evidence
vm2: Host File Path Disclosure via Stack Trace Information Leak
core-osv · Original sourcePublished 13 May 2026, 17:29 UTC
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.
osv:CVE-2026-44002
Complete source record
{
"id": "dda91f42faf04ef234fb35932c63e47cfdd13a9e45c8d89368162fef6e1598cb",
"url": "https://osv.dev/vulnerability/CVE-2026-44002",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "vm2: Host File Path Disclosure via Stack Trace Information Leak",
"summary": "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.",
"evidence": "osv:CVE-2026-44002",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-44002",
"aliases": [
"CVE-2026-44002",
"GHSA-v27g-jcqj-v8rw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/patriksimek/vm2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "fca270df73b64a88e2f9ce71ac17663b6eaf814e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.11.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.11.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.10.5",
"v3.10.4",
"v3.10.3",
"v3.10.2",
"v3.10.1",
"v3.10.0",
"3.9.19",
"3.9.18",
"3.9.17",
"3.9.16",
"3.9.15",
"3.9.14",
"3.9.13",
"3.9.12",
"3.9.11",
"3.9.10",
"3.9.9",
"3.9.8",
"3.9.7",
"3.9.6",
"3.9.5",
"3.9.4",
"3.9.3",
"v3.9.2",
"v3.9.1",
"v3.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44002.json"
}
}
],
"modified": "2026-10-28T02:30:50.530722887Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44002.json",
"https://github.com/patriksimek/vm2/security/advisories/GHSA-v27g-jcqj-v8rw",
"https://nvd.nist.gov/vuln/detail/CVE-2026-44002"
],
"provider_metadata": {
"cwe_ids": [
"CWE-209"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44002.json"
}
},
"related_cves": [
{
"value": "CVE-2026-44002",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518890,
"published_at": "2026-05-13T17:29:42.416+00:00"
}