Skip to content
Heist/ feed
Back to feed
Critical

vm2: Sandbox Breakout Using Dangerous Host Proto Mutators

Type: advisorySources: OSV

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47698
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:03 UTC · Revision 1

Source evidence

vm2: Sandbox Breakout Using Dangerous Host Proto Mutators

core-osv · Original source

Published 17 Aug 2026, 20:53 UTC

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.

osv:CVE-2026-47698
Complete source record
{
  "id": "896273b6f19ac35cb6a19687f559f1319a38aaf1a9f18b5dadab43cf6389c74a",
  "url": "https://osv.dev/vulnerability/CVE-2026-47698",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vm2: Sandbox Breakout Using Dangerous Host Proto Mutators",
    "summary": "vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.",
    "evidence": "osv:CVE-2026-47698",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-47698",
      "aliases": [
        "CVE-2026-47698",
        "GHSA-cfcw-xp6x-25gj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/patriksimek/vm2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a5b31cd9c01b37139aa9c71df1c691a6d1b440f9"
                },
                {
                  "fixed": "a85acb61f81402c6eabf32760aa11272af6d0f9e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.11.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a85acb61f81402c6eabf32760aa11272af6d0f9e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a5b31cd9c01b37139aa9c71df1c691a6d1b440f9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.11.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.11.5",
            "v3.11.4",
            "v3.11.3",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.5",
            "v3.10.4",
            "v3.10.3",
            "v3.10.2",
            "v3.10.1",
            "v3.10.0",
            "3.9.19",
            "3.9.18",
            "3.9.17",
            "3.9.16",
            "3.9.15",
            "3.9.14",
            "3.9.13",
            "3.9.12",
            "3.9.11",
            "3.9.10",
            "3.9.9",
            "3.9.8",
            "3.9.7",
            "3.9.6",
            "3.9.5",
            "3.9.4",
            "3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47698.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.042046874Z",
      "provider": "osv",
      "references": [
        "https://github.com/patriksimek/vm2/releases/tag/3.11.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47698.json",
        "https://github.com/patriksimek/vm2/security/advisories/GHSA-cfcw-xp6x-25gj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47698",
        "https://github.com/patriksimek/vm2/commit/a85acb61f81402c6eabf32760aa11272af6d0f9e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-913"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47698.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47698",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500215,
  "published_at": "2026-08-17T20:53:09.218+00:00"
}