Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-47131: vm2 Sandbox Escape via Buffer Prototype Accessor Abuse

Published Jun 12, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v3.1
EPSS0.65%46th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-47131CWE-913 · Improper Control of…

CVE-2026-47131 is a critical sandbox escape vulnerability in the vm2 library for Node.js affecting versions prior to 3.11.4. The flaw arises from weaknesses in vm2's proxy-based isolation, specifically insufficient protection against prototype mutation through the proxy apply trap. By abusing accessor lookups against native Buffer objects using lookupGetter and lookupSetter, an attacker can surface a host-originated Node.js ERR_INVALID_ARG_TYPE exception and recover the host realm TypeError constructor. From there, the attacker can reach the host Function constructor and break out of the sandbox. The issue affects code executed inside vm2's VM sandbox and can be triggered with minimal attacker-controlled JavaScript, ultimately enabling arbitrary code execution in the host context.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation results in complete sandbox escape from vm2 and arbitrary code execution in the host Node.js process. An attacker can execute operating system commands, access application secrets and local data available to the host process, interact with the filesystem and child processes, and fully compromise any trust boundary that relies on vm2 alone for isolation.

Mitigation

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

No effective configuration-only workaround is available when untrusted scripts are permitted to run inside vm2. Until patched, exposure can only be reduced by preventing execution of untrusted JavaScript or by placing the sandbox inside a stronger isolation boundary such as a separate process, container, microVM, or comparable OS- or hypervisor-enforced isolation layer. vm2 should not be treated as the sole security boundary for hostile code.

Remediation

Patch, then assume compromise.

Upgrade vm2 to version 3.11.4 or later. The fix adds protections in the bridge logic to reject dangerous host prototype mutator functions before argument unwrapping in the apply trap, hardens host-value wrapping checks, and includes regression coverage for the known exploitation paths. Any deployment running untrusted JavaScript in vm2 versions up to and including 3.11.3 should be treated as vulnerable and updated immediately.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-47131 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-47131 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-47131?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-47131.
Is there a patch for CVE-2026-47131?
Upgrade vm2 to version 3.11.4 or later. The fix adds protections in the bridge logic to reject dangerous host prototype mutator functions before argument unwrapping in the apply trap, hardens host-value wrapping checks, and includes regression coverage for the known exploitation paths.
How severe is CVE-2026-47131?
CVE-2026-47131 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 0.65% (46th percentile) as of Sep 25, 2026.
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.