CVE-2026-92940: Vulnerability in vm2

Critical. vm2 versions 3.11.3 through 3.11.6 expose the host process's real https.globalAgent to sandboxed code when a NodeVM is explicitly configured to allow require('https'). The builtin loader wraps host modules in a read-only proxy, but method calls such as Agent.prototype.on() are forwarded to the underlying host object, so sandbox code can register a listener for the agent's 'free' event. When an unrelated host...

npm, CWE-668

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-h85j-hv3c-qfgq
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
Weakness
CWE-668
Published
17 Sept 2026
Last change
1 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • vm2 npm, Affected from 3.11.3 through 3.11.6. Fixed in 3.11.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes