CVE-2026-44005: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. From 3.9.6 to 3.10.5, vm2's bridge exposes mutable proxies for real host-realm intrinsic prototypes and then forwards sandbox writes into the underlying host objects with otherReflectSet() and otherReflectDefineProperty(), which lets attacker-controlled JavaScript running in a default VM or inherited NodeVM mutate shared host Object.prototype, Array.prototype, and Function.prototype from inside the sandbox This vulnerability is fixed in 3.11.0.
AI Analysis
Technical Summary
The vm2 sandbox for Node.js versions from 3.9.6 up to but not including 3.11.0 exposes mutable proxies for host intrinsic prototypes via its VM bridge. Sandbox writes are forwarded to the host objects using otherReflectSet and otherReflectDefineProperty, enabling attacker-controlled code running inside the sandbox to modify shared host prototypes like Object.prototype, Array.prototype, and Function.prototype. This prototype pollution vulnerability allows sandbox escape and arbitrary code execution. The issue is tracked as CVE-2026-44005 and is fixed in vm2 version 3.11.0.
Potential Impact
An unauthenticated remote attacker able to execute JavaScript code inside a default VM or inherited NodeVM can exploit this vulnerability to mutate host JavaScript prototypes, leading to sandbox escape and arbitrary code execution. The CVSS v3.1 base score is 10.0 (critical), with high impact on integrity and availability and no required privileges or user interaction.
Mitigation Recommendations
Upgrade vm2 to version 3.11.0 or later, which contains the official fix for this vulnerability. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 3.11.0.
CVE-2026-44005: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. From 3.9.6 to 3.10.5, vm2's bridge exposes mutable proxies for real host-realm intrinsic prototypes and then forwards sandbox writes into the underlying host objects with otherReflectSet() and otherReflectDefineProperty(), which lets attacker-controlled JavaScript running in a default VM or inherited NodeVM mutate shared host Object.prototype, Array.prototype, and Function.prototype from inside the sandbox This vulnerability is fixed in 3.11.0.
CVSS v3.1
Score 10.0critical
Affected software
patriksimek
vm2
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
Technical Analysis
The vm2 sandbox for Node.js versions from 3.9.6 up to but not including 3.11.0 exposes mutable proxies for host intrinsic prototypes via its VM bridge. Sandbox writes are forwarded to the host objects using otherReflectSet and otherReflectDefineProperty, enabling attacker-controlled code running inside the sandbox to modify shared host prototypes like Object.prototype, Array.prototype, and Function.prototype. This prototype pollution vulnerability allows sandbox escape and arbitrary code execution. The issue is tracked as CVE-2026-44005 and is fixed in vm2 version 3.11.0.
Potential Impact
An unauthenticated remote attacker able to execute JavaScript code inside a default VM or inherited NodeVM can exploit this vulnerability to mutate host JavaScript prototypes, leading to sandbox escape and arbitrary code execution. The CVSS v3.1 base score is 10.0 (critical), with high impact on integrity and availability and no required privileges or user interaction.
Mitigation Recommendations
Upgrade vm2 to version 3.11.0 or later, which contains the official fix for this vulnerability. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 3.11.0.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44005","vendor":"Red Hat"}]
Threat ID: 6a04ba22cbff5d8610f482c5
Added to database: 05/13/2026, 17:51:30 UTC
Last enriched: 08/06/2026, 13:01:27 UTC
Last updated: 09/13/2026, 22:12:47 UTC
Views: 107
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.
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.