Skip to main content
VulnerabilityPublished Updated

CVE-2023-37903: patriksimek vm2 · OS Command Injection

Affects patriksimek vm2Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical.

Data as of 22 Nov 2026, 21:13 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
4.2% chance of exploitation in 30 days – higher than 91% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jul 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
npmvm2pkg:npm/vm2Other threatsAffected
  • <=3.9.19
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since no patches or workarounds currently exist for CVE-2023-37903, European organizations should immediately assess their use of vm2 and plan to discontinue or replace it with alternative sandboxing solutions that do not share this vulnerability. Consider isolating any systems running vm2 in high-trust environments using network segmentation and strict access controls to limit potential attack impact. Employ runtime monitoring and anomaly detection to identify suspicious behavior indicative of sandbox escape attempts. Review and harden Node.js application configurations to minimize exposure. For development and CI/CD pipelines, restrict execution privileges and avoid running untrusted code in production environments until a secure fix is available. Engage with vendors or open-source communities for updates and patches. Additionally, implement strict logging and incident response plans to quickly detect and respond to exploitation attempts. Organizations should also conduct threat hunting focused on this vulnerability and educate developers about the risks of using vulnerable sandbox libraries.

Description

vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.

References

Community reviews

Loading reviews…