Skip to main content

CVE-2026-92936: Generation of Error Message Containing Sensitive Information in patriksimek vm2

0
Medium
VulnerabilityCVE-2026-92936cvecve-2026-92936
Published: 09/17/2026 (09/17/2026, 13:46:01 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

vm2 versions 3.11.0 through 3.11.6 leak absolute host filesystem paths to sandboxed code through error stack formatting. Attacker-supplied code can force the host-realm source transformer to throw a SyntaxError (for example by calling eval with malformed source) and then read the error's .stack property; the bridge forwards the .stack read to the host-realm formatter, bypassing the sandbox-side host-path redaction introduced for GHSA-v27g-jcqj-v8rw. The returned stack string discloses absolute paths from vm2, Node.js internals, and the embedding application's own source tree, along with host function names. Default new VM() and new NodeVM() configurations are affected without any special options, and the issue persists when string eval is disabled because the host-side transformer throws before eval is handled. The impact is information disclosure only; no code execution results. Fixed in vm2 3.11.7.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

patriksimek

vm2

Affected versions
>=3.11.0 <3.11.7
vm2
pkg:npm/vm2
Affected versions
>=3.11.0 <3.11.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 16:16:40 UTC

Technical Analysis

The vm2 sandbox library versions 3.11.0 through 3.11.6 have a vulnerability (CVE-2026-92936) where error stack formatting leaks absolute host filesystem paths to sandboxed code. An attacker can cause the host-realm source transformer to throw a SyntaxError by supplying malformed code (e.g., via eval). Reading the error's .stack property bypasses sandbox-side path redaction, exposing absolute paths from vm2, Node.js internals, and the embedding application's source tree, along with host function names. This affects default configurations of new VM() and new NodeVM() and persists even when string eval is disabled. The vulnerability is limited to information disclosure without code execution. The issue is fixed in vm2 version 3.11.7.

Potential Impact

The vulnerability allows an attacker to obtain absolute filesystem paths from the host environment, including vm2 internals, Node.js internals, and the embedding application's source code paths. This information disclosure could aid attackers in reconnaissance but does not enable code execution or other direct compromises.

Mitigation Recommendations

Upgrade vm2 to version 3.11.7 or later, where this vulnerability has been fixed. No other mitigation is required as the issue is resolved in the official patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-17T12:42:34.828Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aac0f0b55bf5e2cf5988208

Added to database: 09/17/2026, 16:02:19 UTC

Last enriched: 09/17/2026, 16:16:40 UTC

Last updated: 09/17/2026, 22:38:40 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses