CVE-2026-92952: vm2 Incomplete Node.js Symbol Filtering Vulnerability

vm2 Updated 01 Oct 2026

Summary

01/10/2026
Yes i
Moderate
6.8

CVE-2026-92952: vm2: Incomplete nodejs.* symbol filtering lets sandbox override host WebStream state checks. Affects vm2 versions >= 3.11.4, < 3.11.7. Fixed in 3.11.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

vm2 is a popular Node.js package that provides a sandboxed environment for executing JavaScript code securely. It allows developers to run untrusted code while maintaining control over the host environment. However, recent updates have revealed a vulnerability in the way vm2 handles Node.js internal symbols, specifically related to the WebStream API, which can lead to unauthorized access and manipulation of stream states.

Vulnerability Detail

The vulnerability arises from incomplete filtering of Node.js internal symbols within the vm2 sandbox. Specifically, the symbols 'nodejs.stream.disturbed' and 'nodejs.stream.errored' are exposed to sandboxed code, allowing attackers to manipulate the state of host WebStream objects. This can result in misleading behavior of stream state checks, such as making a stream appear undisturbed even after it has been read. The issue stems from a fixed list of dangerous symbols that does not account for these newer symbols, leading to potential security risks in applications relying on the integrity of stream states.

How To Fix

Latest published version: 3.12.2 as of 22 Oct 2026

npm install vm2@3.12.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.11.7

This is the first release that contains the fix.

npm install vm2@3.11.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid exposing host WebStream objects to the vm2 sandbox until the package is updated. This can be done by modifying your sandbox configuration to exclude these objects, thereby mitigating the risk of exploitation.

Conclusion

The vm2 package has a vulnerability related to incomplete filtering of Node.js internal symbols, which can lead to unauthorized access to WebStream states. It is essential to update to the latest version to ensure the security of applications using this package. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for vm2 →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.8, indicating a moderate level of severity.

The affected versions of vm2 are 3.11.4, 3.11.5, and 3.11.6. It is recommended to update to version 3.11.7 or later.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By using the Vulert playground, you can check if your application is affected without any signup.

The vulnerability can lead to unauthorized manipulation of stream states, allowing attackers to bypass security checks and potentially compromise the integrity of data processing in applications.

Yes, a patch is available in version 3.11.7 of the vm2 package. It is crucial to update to this version to mitigate the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for vm2.

How To Fix

Latest published version: 3.12.2 as of 22 Oct 2026

npm install vm2@3.12.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.11.7

This is the first release that contains the fix.

npm install vm2@3.11.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback