CVE-2026-47139 Details
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM supports excluding public network builtins from the wildcard builtin option. With this configuration direct access to http, https, http2, net, dgram, tls, dns, and dns/promises is blocked. However, Node.js also exposes underscored internal HTTP builtins such as _http_client and _http_server. These are not blocked when the public modules are excluded. Sandboxed code can use these internal builtins to make outbound HTTP requests and open listening HTTP sockets even though the public network modules are denied. This issue has been patched in version 3.11.4.
A vulnerability in the vm2 library's NodeVM component allows bypassing network module exclusions. Prior to version 3.11.4, NodeVM's wildcard builtin option could inadvertently expose internal HTTP builtins, such as '_http_client' and '_http_server'. These underscored modules, not blocked by the exclusion settings, can be exploited to make outbound HTTP requests or open listening sockets, effectively bypassing the intended network restrictions. This issue has been identified as a capability bypass with an SSRF-like impact, allowing access to local services and cloud metadata endpoints.
Users can upgrade to vm2 version 3.11.4 or later, where this vulnerability has been patched. The patch involves modifying the builtin module exclusion filter to automatically exclude any module names that start with an underscore, ensuring that the wildcard expansion only includes documented public Node builtins. Instructions for upgrading can be found in the release notes on the vm2 GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 12, 2026CISA-ADP
Assessed Jun 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/patriksimek/vm2/security/advisories/GHSA-r9pm-gxmw-wv6p | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/patriksimek/vm2/commit/436053e30eecbabd487e2fd2959c137ac34e2bb1 | [email protected] | Source CodeVendor |
| https://github.com/patriksimek/vm2/releases/tag/v3.11.4 | [email protected] | Release NotesVendor |
| https://github.com/patriksimek/vm2/security/advisories/GHSA-r9pm-gxmw-wv6p | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-693 | Protection Mechanism Failure | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vm2 | <= 3.11.3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | New CVE Received | [email protected] |
Volerion