CVE-2023-29199
vm2 Sandbox escape vulnerability
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version `3.9.16` of `vm2`.
Timeline
ID reserved
By GitHub_M
- 11 days later
· 11 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.9% · top 9.8% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
- affected < 3.9.16
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (5)
- https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/patriksimek/vm2/issues/516 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7 (opens in a new tab)x_refsource_MISCx_transferred
- https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/patriksimek/vm2/releases/tag/3.9.16 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xj72-wvfv-8985 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-29199)Record last updated .