Every CVE Search/ Get API key

CVE-2022-36067

vm2 vulnerable to Sandbox Escape before v3.9.11

10.0 CriticalPublic exploitFix available

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

47.9%Up 43.4 points since Sep 7, 2022
90%50%10%1%

What each source reports

CVE List Score used 10.0

vm2 vulnerable to Sandbox Escape before v3.9.11

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

Record
CVE-2022-36067
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Updated
2026-11-02
EUVDEUVD-2022-6880 10.0

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

Record
EUVD-2022-6880
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-mrgp-mrhc-5jrq 10.0

vm2 vulnerable to Sandbox Escape resulting in Remote Code Execution on host

Impact

A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.

Patches

This vulnerability was patched in the release of version 3.9.11 of vm2

Workarounds

None.

References

Github Issue - https://github.com/patriksimek/vm2/issues/467 The file that was patched - https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71 The commit with the patch - https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164

For more information

If you have any questions or comments about this advisory:

  • Open an issue in VM2
Record
GHSA-mrgp-mrhc-5jrq
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Updated
2026-11-02
NVD 10.0

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

Record
CVE-2022-36067
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Updated
2026-11-02
OSV 10.0

vm2 vulnerable to Sandbox Escape before v3.9.11

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

Record
CVE-2022-36067
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Updated
2026-11-02
OSVGHSA-mrgp-mrhc-5jrq 10.0

vm2 vulnerable to Sandbox Escape resulting in Remote Code Execution on host

Impact

A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.

Patches

This vulnerability was patched in the release of version 3.9.11 of vm2

Workarounds

None.

References

Github Issue - https://github.com/patriksimek/vm2/issues/467 The file that was patched - https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71 The commit with the patch - https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164

For more information

If you have any questions or comments about this advisory:

  • Open an issue in VM2
Record
GHSA-mrgp-mrhc-5jrq
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2022-36067 No score

CVE-2022-36067 in vm2 - Patched by Root

Root has patched CVE-2022-36067 in the vm2 package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2022-36067
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vm2
npm
before 3.9.11
3.9.11
vm2
Root:npm
before 3.9.7-aikido.3
3.9.7-aikido.33.9.7-aikido.13.9.7-aikido.43.9.7-aikido.23.9.7-aikido.53.9.7-aikido.6
@rootio/vm2
Root:npm
before 3.9.7-root.io.3
3.9.7-root.io.33.9.7-root.io.13.9.7-root.io.43.9.7-root.io.23.9.7-root.io.53.9.7-root.io.6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHub0x1nsomnia/CVE-2022-36067-vm2-POC-webapp2022-10-12
PoC in GitHubprathamhasnotchanged/Exploit-For-CVE-2022-360672022-11-05

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-36067 is a critical vulnerability (CVSS 10.0) in Patriksimek Vm2, published September 6, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 47.9%, the 98th percentile. Fixed in vm2 3.9.11.

References

Show 4 moreShow less
MoveEnter Open