CVE-2026-92958
Reported by VulnCheck · Published September 17, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| patriksimek | vm2 | 0, 3.11.7 |
| patriksimek | vm2 | 0, 3.11.7, 0 |
| npm | vm2 | 0 |
Timeline
- Sep 17, 2026 Coalition ESS Score
- Sep 17, 2026 CVE Published
- Sep 18, 2026 EPSS Score
- Sep 24, 2026 EPSS Score
- Sep 26, 2026 EPSS Score
- Sep 30, 2026 EPSS Score
- Oct 1, 2026 CVE Updated
- Oct 2, 2026 EPSS Score
- Oct 2, 2026 Security Advisory
- Oct 6, 2026 EPSS Score
- Oct 8, 2026 EPSS Score
- Oct 11, 2026 EPSS Score
References
- GitHub Security Advisory (GHSA-6rh5-qq4q-97xh) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Denylist Bypass via fs/promises third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-92958 advisory
- https://github.com/advisories/GHSA-6rh5-qq4q-97xh advisory
- https://github.com/patriksimek/vm2/commit/59d35f68e52a9bd229a8a72bcd9274bd4cec2bc5 patch
- https://github.com/patriksimek/vm2/releases/tag/v3.11.7 url