CVE-2023-30547
CriticalPublic exploitvm2 Sandbox Escape vulnerability
Published Apr 20, 2023 · Updated Sep 30, 2026 · Also known as GHSA-ch3r-j5x3-6q2m, ROOT-APP-NPM-CVE-2023-30547
Key Facts
Patch immediately- CVE-2023-30547 is a critical-severity vulnerability (CVSS 10.0 v3.1) affecting Vm2 (Vm2 Project), @seal-security/vm2 (seal), @rootio/vm2 (root).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 73% probability of exploitation in the next 30 days.
- Fixed versions are available, including @rootio/vm2 3.9.17-root.io.1, @rootio/vm2 3.9.17-root.io.10, @rootio/vm2 3.9.17-root.io.11.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
73%
Higher than 99.4% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2023-30547 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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 for this vulnerability. Users are advised to upgrade.
Affected Products
7 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Vm2Vm2 Project | >= < 3.9.17 | 3.9.16 |
| @seal-security/vm2seal | See advisory | 3.9.11-sp999 |
| @rootio/vm2root | See advisory | 3.9.17-root.io.1 |
Patched Releases
@rootio/vm2
3.9.17-root.io.1, 3.9.17-root.io.10, 3.9.17-root.io.11, 3.9.17-root.io.12, 3.9.17-root.io.13, 3.9.17-root.io.2, 3.9.17-root.io.3, 3.9.17-root.io.4, 3.9.17-root.io.5, 3.9.17-root.io.6, 3.9.17-root.io.7, 3.9.17-root.io.8, 3.9.17-root.io.9, 3.9.7-root.io.5, 3.9.7-root.io.6
@seal-security/vm2
3.9.11-sp999
Vm2
3.9.11-sp999, 3.9.17, 3.9.17-aikido.10, 3.9.17-aikido.11, 3.9.17-aikido.12, 3.9.17-aikido.13, 3.9.17-aikido.4, 3.9.17-aikido.5, 3.9.17-aikido.6, 3.9.17-aikido.7, 3.9.17-aikido.8, 3.9.17-aikido.9, 3.9.7-aikido.5, 3.9.7-aikido.6, <=3.9.16
Timeline
Publicly disclosed
Apr 20, 2023
Last updated
Sep 30, 2026
Weakness Type
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-755 Improper Handling of Exceptional Conditions
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30547.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-30547
- advisoryhttps://sensorstechforum.com/author/milena-dimitrova/
- advisoryhttps://sensorstechforum.com/cve-2023-29199-vm2-library/
FAQ
Common Questions.
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.
Affected: Vm2 (Vm2 Project) versions >= < 3.9.17; @seal-security/vm2 (seal); @rootio/vm2 (root). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including @rootio/vm2 3.9.17-root.io.1, @rootio/vm2 3.9.17-root.io.10, @rootio/vm2 3.9.17-root.io.11.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-30547 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo