Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-44002 EUVD-2026-30072GHSA-v27g-jcqj-v8rw

vm2: Host File Path Disclosure via Stack Trace Information Leak

Published May 13, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
patriksimek vm2 < 3.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.0 3.11.0 GHSA-v27g-jcqj-v8rw

Advisories 1

References