CVE-2026-44002: CWE-209: Generation of Error Message Containing Sensitive Information in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths. Any sandboxed code can extract the full directory structure, library paths, and framework versions of the host server. This vulnerability is fixed in 3.11.0.
AI Analysis
Technical Summary
The patriksimek vm2 module for Node.js contains an information disclosure vulnerability in versions before 3.11.0. The CallSite wrapper class, designed to safely wrap V8's native CallSite, blocks certain methods to prevent host object leakage but does not sanitize the output of getFileName(). This allows any code running inside the sandbox to retrieve absolute file paths from the host environment, revealing sensitive information such as directory structures, library locations, and framework versions. The vulnerability is addressed by sanitizing or restricting this information in vm2 version 3.11.0.
Potential Impact
An attacker with the ability to execute code inside the vm2 sandbox can obtain sensitive information about the host environment, including full directory structures, library paths, and framework versions. This information disclosure could aid in further attacks or reconnaissance but does not directly allow code execution or data modification outside the sandbox. The CVSS score is 5.8 (medium severity), reflecting the confidentiality impact without integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.0. Users of vm2 should upgrade to version 3.11.0 or later to remediate this issue. No official patch or workaround is indicated other than upgrading. Patch status is not explicitly stated beyond the fix in 3.11.0, so users should consult the vendor's release notes for confirmation.
CVE-2026-44002: CWE-209: Generation of Error Message Containing Sensitive Information in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths. Any sandboxed code can extract the full directory structure, library paths, and framework versions of the host server. This vulnerability is fixed in 3.11.0.
CVSS v3.1
Score 5.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The patriksimek vm2 module for Node.js contains an information disclosure vulnerability in versions before 3.11.0. The CallSite wrapper class, designed to safely wrap V8's native CallSite, blocks certain methods to prevent host object leakage but does not sanitize the output of getFileName(). This allows any code running inside the sandbox to retrieve absolute file paths from the host environment, revealing sensitive information such as directory structures, library locations, and framework versions. The vulnerability is addressed by sanitizing or restricting this information in vm2 version 3.11.0.
Potential Impact
An attacker with the ability to execute code inside the vm2 sandbox can obtain sensitive information about the host environment, including full directory structures, library paths, and framework versions. This information disclosure could aid in further attacks or reconnaissance but does not directly allow code execution or data modification outside the sandbox. The CVSS score is 5.8 (medium severity), reflecting the confidentiality impact without integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.0. Users of vm2 should upgrade to version 3.11.0 or later to remediate this issue. No official patch or workaround is indicated other than upgrading. Patch status is not explicitly stated beyond the fix in 3.11.0, so users should consult the vendor's release notes for confirmation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T21:24:36.505Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a04ba1fcbff5d8610f4825f
Added to database: 05/13/2026, 17:51:27 UTC
Last enriched: 05/20/2026, 18:43:57 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.