CVE-2022-36067
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-36067, known as SandBreak, affects the vm2 JavaScript sandbox library versions prior to 3.9.11. vm2 is a popular sandbox module with approximately 17.5 million monthly downloads that allows running untrusted code with whitelisted Node's built-in modules. The vulnerability was discovered by the Oxeye research team and disclosed in August 2022, receiving the maximum CVSS score of 10.0 (Critical) (GitHub Advisory, Help Net Security).

Technical details

The vulnerability stems from improper error mechanism handling in Node.js that could be exploited to escape the sandbox environment. It is classified under CWE-913 (Improper Control of Dynamically-Managed Code Resources). The vulnerability received a CVSS v3.1 Base Score of 10.0 CRITICAL with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction (NVD).

Impact

Successful exploitation of this vulnerability allows an attacker to bypass the vm2 sandbox protections and gain remote code execution rights on the host running the sandbox. Given that sandboxes are commonly used for examining email attachments, providing security layers in web browsers, and isolating running applications, the potential impact is severe. The vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory, Help Net Security).

Mitigation and workarounds

The vulnerability was patched in vm2 version 3.9.11. There are no known workarounds, making it critical for users to upgrade to the patched version immediately. Security experts recommend separating the logical sensitive part of applications from the microservice that runs the sandbox code to limit the attack surface in case of successful sandbox escapes (GitHub Advisory, Help Net Security).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management