Skip to content
Heist/ feed
Critical

vm2 before 3.11.7 NodeVM Builtin Deny-List Bypass via node: Prefix

Type: advisorySource: Official CVE List1 source record

vm2 through 3.11.6 does not normalize `node:`-prefixed builtin specifiers when evaluating user-supplied negative (deny) entries in a NodeVM wildcard require policy. Although NodeVM strips the `node:` prefix during require() resolution, negative wildcard entries are matched by exact string comparison against the canonical builtin names, so a policy such as `new NodeVM({ require: { builtin: ['*', '-node:child_process'] } })` fails to deny the canonical `child_process` module. Sandboxed code can therefore obtain the host `child_process` builtin via `require('child_process')` or `require('node:child_process')`, gaining references to process-spawning APIs such as execSync and spawn, which is equivalent to host command-execution capability for untrusted sandbox code. Fixed in vm2 3.11.7.

Announced Group revision 1
Original source ↗

CVE-2026-92957

Primary source · Revision 2

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-92957

vm2

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "patriksimek",
    "product": "vm2",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.11.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.11.7",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/vm2",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-92957

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#61258 · Revision 2
Added to Heist Feed
Publisher date
Read the original announcement