{"cve":"CVE-2026-92958","nvd":{"published":"2026-09-17T14:18:01.970","modified":"2026-09-18T20:17:31.243","status":"Deferred","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.","cvss_v4":{"vector":"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","score":8.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","score":8.5},"cwes":["CWE-269"],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-6rh5-qq4q-97xh","https://www.vulncheck.com/advisories/vm2-before-3.11.7-denylist-bypass-via-fs-promises","https://github.com/patriksimek/vm2/security/advisories/GHSA-6rh5-qq4q-97xh"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:55:23.253742848+00:00"},"epss":{"cve":"CVE-2026-92958","score":0.00384,"percentile":0.32529,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-6rh5-qq4q-97xh","url":"https://osv.dev/vulnerability/GHSA-6rh5-qq4q-97xh","summary":"vm2: NodeVM builtin denylist bypass via fs/promises despite -fs, allowing host filesystem writes","modified":"2026-10-01T15:45:06.200420134Z","packages":[{"ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":["<3.11.7"],"fixed":["3.11.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}