Skip to content
8.5 High

CVE-2026-43998 vm2 is an open source vm/sandbox for Node.js

Description

vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve() (which does not dereference symlinks) but module loading uses Node's native require() (which does), an attacker can load arbitrary host-realm modules and achieve remote code execution. This vulnerability is fixed in 3.11.0.

Affected products and versions

Product Affected versions Fixed in
vm2 3.10.5 No fix stated
Self-service automation portal 2 Versions not published
Red Hat Developer Hub Versions not published
Red Hat Ansible Automation Platform 2.1 1785854226 earliest → < 1785854226 1785854226
Self-service automation portal 2.1 1785854226 earliest → < 1785854226 1785854226

References

Timeline

  1. Published
  2. Last modified
The 77 CVEs of vm2 →
Track this CVE