Arbitrary code execution in vm2
Priority HIGH 82CWE-471Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
The package vm2 before 3.9.10 are vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01542 75th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed vm2: 3.9.10vm2 (npm): 3.9.10
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | vm2 | before 3.9.10 | 3.9.10 | Patch available | CNA |
| — | vm2 (npm) | before 3.9.10 | 3.9.10 | Patch available | GHSA-4w2j-2rg4-5mjw |
- vm2 Vendor— Affected before 3.9.10 Fixed in 3.9.10 Patch available CNA
- vm2 (npm) Vendor— Affected before 3.9.10 Fixed in 3.9.10 Patch available GHSA-4w2j-2rg4-5mjw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* | before 3.9.10 | Vulnerable | patriksimek |
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* Versions before 3.9.10 Vulnerable ·patriksimek
Remediation
- Fix · CNA vm2 Fixed in 3.9.10
- Fix · GHSA-4w2j-2rg4-5mjw vm2 (npm) Fixed in 3.9.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25893
- 2026-10-03 Alias added: GHSA-4w2j-2rg4-5mjw
References
More patriksimek Vm2 vulnerabilities
- TI-2023-14382 Sandbox Escape in vm2 CVSS 3.1CRITICAL 10.0
- TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
- TI-2026-33200 vm2: Sandbox Breakout Using Async Generator CVSS 3.1CRITICAL 9.8
- TI-2026-32052 vm2: Sandbox Breakout Through Null Proto Exception CVSS 3.1CRITICAL 9.8
- TI-2026-32051 vm2 has sandbox breakout via `neutralizeArraySpeciesBatch` CVSS 3.1CRITICAL 9.8
- TI-2026-32049 vm2: Sandbox Escape CVSS 3.1CRITICAL 10.0
Sources
- CVE-2022-25893 · CVE Program
- CVE-2022-25893 · NVD
- FIRST EPSS
- GHSA-4w2j-2rg4-5mjw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences