CVE-2023-30547: vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules
CVE-2023-30547 is a critical-severity flaw (CVSS 9.8) affecting vm2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulnerability was patched in the release of version `3.9.17` of `vm2`. There are no known workarounds fo
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 73.0% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2023-04-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: rvzsec/CVE-2023-30547 (44 stars)
- GitHub PoC: Cur1iosity/CVE-2023-30547 (1 stars)
- GitHub PoC: user0x1337/CVE-2023-30547 (0 stars)
- Write-up: gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244
- Write-up: github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m
- GitHub PoC: junnythemarksman/CVE-2023-30547
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-30547?
vm2: upgrade to newer than 3.9.16. Exact commands for each OS are on this page.
Is CVE-2023-30547 being exploited?
CVE-2023-30547 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-30547 affect?
CVE-2023-30547 affects vm2. Severity is critical (CVSS 9.8). vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside
How urgent is CVE-2023-30547?
Priority 72/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-44009 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-44008 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-44007 CRITICAL 9.1 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-24781 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js
- CVE-2026-26956 CRITICAL 9.8 UPGRADE vm2 is an open source vm/sandbox for Node.js