Critical severity10.0GHSA Advisory· Published Jun 12, 2026· Updated Jun 13, 2026
CVE-2026-47131
CVE-2026-47131
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, by combining Buffer.call.call({}.__lookupGetter__, Buffer, "__proto__"), Buffer.call.call({}.__lookupSetter__, Buffer, "__proto__"), and Node.js's ERR_INVALID_ARG_TYPE Error, the host's TypeError constructor can be obtained, which allows the escape from the sandbox. This allows attackers to run arbitrary code. This issue has been patched in version 3.11.4.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vm2npm | < 3.11.4 | 3.11.4 |
Affected products
1- Range: <= 3.11.3
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-v6mx-mf47-r5wgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-47131ghsaADVISORY
- github.com/patriksimek/vm2/commit/27c525f4615e2b983f122e2bed327d810126f5c8nvdWEB
- github.com/patriksimek/vm2/releases/tag/v3.11.4nvdWEB
- github.com/patriksimek/vm2/security/advisories/GHSA-v6mx-mf47-r5wgnvdWEB
News mentions
1- vm2: Nine Sandbox Escape CVEs Disclosed in a Single-Day AdvisoryVypr Intelligence · May 29, 2026