VDB

CVE-2026-92958

CVE-2026-92958 PUBLISHED CVSS 8.4 HIGH

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

CVSS 4.0
8.4
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

Affected Products

VendorProductVersions
patriksimekvm20, 3.11.7
patriksimekvm20, 3.11.7, 0
npmvm20

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
Open in Interactive Console →
$ Console Community · 50/day Open console ›