Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

vm2 NodeVM builtin denylist bypass via process and inspector/promises

IdentifiersCVE-2026-47140CWE-184

CVE-2026-47140 is a sandbox escape vulnerability in the vm2 Node.js sandbox library affecting versions prior to 3.11.4. In NodeVM, several dangerous Node.js builtins were intended to be blocked by a denylist, including module, worker_threads, cluster, vm, repl, and inspector. However, the denylist omitted the process builtin and inspector/promises. Because these builtins remained reachable from sandboxed code, an attacker running untrusted JavaScript inside NodeVM could access host-side execution primitives and bypass the intended builtin restrictions. The result is escape from the sandbox boundary and execution of code in the host process.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows sandboxed code to break out of the intended NodeVM isolation and achieve arbitrary code execution in the host Node.js process. This can lead to full compromise of the application context hosting vm2, including access to local files, secrets, tokens, credentials, databases, process execution capabilities, and other sensitive host resources.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, do not allow process, inspector/promises, or wildcard "" entries in NodeVM require.builtin. Keep require disabled where possible, minimize exposed builtins, and block dangerous builtin families such as inspector and inspector/. The provided content indicates there is no effective configuration-based workaround when untrusted scripts are permitted to run, so mitigation should be treated only as temporary risk reduction until upgrade.

Remediation

Patch, then assume compromise.

Upgrade vm2 to version 3.11.4 or later. The fix adds the missing dangerous builtins to the blocklist and addresses the builtin restriction logic. Where applicable, review NodeVM builtin exposure policies to ensure dangerous builtin families are not reachable from sandboxed code.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.