CVE-2026-44002 vm2: Host File Path Disclosure via Stack Trace Information Leak

Medium 5.8 Published Updated

Sandboxed code can leak host file paths via stack traces, exposing directory structures and library versions to attackers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44002?

CVE-2026-44002 is a medium-severity vulnerability in patriksimek vm2, published on 13 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-209

Which versions are affected by CVE-2026-44002?

2 open source packages ship an affected version, including vm2. It affects 1 product.

PackageAffectedFixed in
vm2 npmAll versions3.11.0
vm2 npmAll versions3.11.0

Products include Vm2 Project Vm2.

How do I fix CVE-2026-44002?

Upgrade vm2 to 3.11.0 or later.

Is CVE-2026-44002 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44002 exists.

Sources

Also known as GHSA-v27g-jcqj-v8rw, ROOT-APP-NPM-CVE-2026-44002.

Is CVE-2026-44002 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free