CVE-2022-25893Vm2 Project Vm2
Critical 9.8 No auth needed
Follow: this CVE · Vm2 Project · Vm2 Project Vm2 We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Dec 21, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-471
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Vm2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vm2 |
< 3.9.10 |
3.9.10 |
npm install vm2@3.9.10 |
Per OSV / GitHub Advisories (GHSA-4w2j-2rg4-5mjw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vm2_project | vm2 | < 3.9.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- security.snyk.io Exploit Patch Third Party Advisory