# CVE-2026-92958: vm2 before 3.11.7 Denylist Bypass via fs/promises

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L`
- 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.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-17T13:46:15.549Z
- Modified: 2026-10-01T15:45:06.200Z
- Also known as: GHSA-6rh5-qq4q-97xh
- Weaknesses: CWE-269, CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

vm2 through 3.11.6 contains a builtin-module denylist bypass in NodeVM. When the embedder uses the builtin wildcard together with negative entries (e.g. require: { builtin: ['*', '-fs', '-child_process'] }), negative entries are matched by exact module name in lib/builtin.js, so -fs removes only the builtin named fs and does not remove builtin subpaths such as fs/promises. Sandboxed code can therefore call require('fs/promises') or require('node:fs/promises') and reach the promise-based filesystem API despite fs being denied; node: prefix handling is likewise inconsistent (a -node:fs/promises entry does not block require('fs/promises')). Host file creation and writing were confirmed via fsp.writeFile(), and other fs/promises operations (cp, mkdir, rename, rm, rmdir, truncate, read operations, etc.) are also reachable. This issue is fixed in vm2 3.11.7.

(As written by CVE List.)

## Affected

- patriksimek vm2: before 3.11.7 (not affected: 3.11.7)
- vm2 (npm): before 3.11.7

## Every score

- VulnCheck: CVSS:4.0 8.4 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L`
- VulnCheck: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-6rh5-qq4q-97xh> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-before-3.11.7-denylist-bypass-via-fs-promises> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92958> (advisory)
- <https://github.com/patriksimek/vm2/commit/59d35f68e52a9bd229a8a72bcd9274bd4cec2bc5> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.7> (web)

## Sources

- CVE List: [CVE-2026-92958](https://www.cve.org/CVERecord?id=CVE-2026-92958), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-6rh5-qq4q-97xh](https://github.com/advisories/GHSA-6rh5-qq4q-97xh), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-92958](https://nvd.nist.gov/vuln/detail/CVE-2026-92958), Public domain, modified 2026-09-18

---

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