Intel

AIKIDO-2026-10845

vm2 is vulnerable to Remote Code Execution (RCE)

CVE-2026-47140Published May 19, 2026
May 19, 2026

100

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

The NodeVM builtin denylist omits process and inspector/promises. Sandboxed code that may load those builtins can call process.getBuiltinModule('child_process') or Runtime.evaluate via the inspector protocol. That bypasses intended builtin restrictions and executes code in the host process. The fix adds these modules to the dangerous builtin blocklist in lib/builtin.js.

How do I fix this?

Upgrade the vm2 library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

3.0.0 - 3.11.3

Fixed in 3.11.4

Background info

vm2 is vulnerable to Remote Code Execution (RCE) in versions 3.0.0 - 3.11.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea