CVE-2026-92946 PUBLISHED

vm2 before 3.11.7 Remote Code Execution via require.external

Assigner: VulnCheck
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS Score: 10

Product Status

Vendor patriksimek
Product vm2
Versions Default: unaffected
  • affected from 0 to 3.11.7 (excl.)
  • Version 3.11.7 is unaffected

Credits

  • abisheikM1 reporter
  • amagesh1 reporter
  • Den1al reporter

References

Problem Types

  • Improper Control of Dynamically-Managed Code Resources CWE