# CVE-2026-47140: vm2: NodeVM builtin denylist bypass via process and inspector/promises allows host code execution

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T17:59:23.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-rp36-8xq3-r6c4
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM blocks several dangerous Node.js builtins such as module, worker_threads, cluster, vm, repl, and inspector. However, the denylist misses process and inspector/promises. Both can be used from sandboxed code to reach host-side execution primitives. This allows sandboxed code to bypass the intended builtin restrictions and execute code in the host process. This issue has been patched in version 3.11.4.

(As written by CVE List.)

## Affected

- patriksimek vm2: < 3.11.4
- vm2 (npm): before 3.11.4

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-rp36-8xq3-r6c4> (exploit, web)
- <https://github.com/patriksimek/vm2/commit/a1ed47a98d1cc36cb48c0d566d55889688e0b59b> (web)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47140> (advisory)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2026-47140](https://www.cve.org/CVERecord?id=CVE-2026-47140), CVE Terms of Use, modified 2026-06-13
- GitHub Advisory Database: [GHSA-rp36-8xq3-r6c4](https://github.com/advisories/GHSA-rp36-8xq3-r6c4), CC-BY-4.0, modified 2026-06-12
- NVD: [CVE-2026-47140](https://nvd.nist.gov/vuln/detail/CVE-2026-47140), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47140 · Whole record: https://cve.day/CVE-2026-47140.json · Rebuilt by cve.day 2026-11-25T22:59:24.515Z
