---
id: CVE-2026-92941
title: >-
  vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM
  sandbox code, allowing attackers to call tls.setDefaultCACertificates() and
  replace process-wide certificate authorities
summary: >-
  vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM
  sandbox code, allowing attackers to call tls.setDefaultCACertificates() and
  replace process-wide certificate authorities. Attackers with access to allowed
  tls an…
severity: critical
cvss: 10
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L'
cwe:
  - CWE-732
vendor: patriksimek
product: vm2
affected:
  - vm2 >= 3.11.3 < 3.11.7
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T16:18:34.520'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92941'
references:
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-98xx-8mx4-x7cm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/vm2-3.11.3-before-3.11.7-tls-trust-store-manipulation
    label: disclosure@vulncheck.com
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-98xx-8mx4-x7cm'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92941'
  - url: >-
      https://github.com/patriksimek/vm2/commit/aa146a77f859325e079f3bfbfe6d8309af483daa
  - url: 'https://github.com/patriksimek/vm2/releases/tag/v3.11.7'
  - url: 'https://github.com/advisories/GHSA-98xx-8mx4-x7cm'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - npm
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-09-17T15:48:37.206951Z'
ingestedAt: '2026-09-17T14:19:30.985Z'
epss: 0.00289
epssPercentile: 0.2135
aliases:
  - GHSA-98xx-8mx4-x7cm
ecosystem: npm
patched:
  - vm2 3.11.7
---

## Overview

vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM sandbox code, allowing attackers to call tls.setDefaultCACertificates() and replace process-wide certificate authorities. Attackers with access to allowed tls and url builtins can use URLSearchParams to create host-realm arrays and manipulate the TLS trust store, enabling subsequent host HTTPS clients to accept attacker-controlled certificates.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-92941)

Affected packages:

- `vm2 >= 3.11.3, <= 3.11.6`

Patched in:

- `vm2 3.11.7`

Source: https://github.com/advisories/GHSA-98xx-8mx4-x7cm
