Intel

AIKIDO-2026-952274

vm2 is vulnerable to Remote Code Execution

CVE-2026-92937Published Aug 26, 2026
August 26, 2026

100

CVE Score

Critical

Remote Code Execution

Are you affected? Scan for Free

TL;DR

The sandbox bridge sanitizes host error objects that reach sandboxed code, but identity checks on the call target fail when handlers are registered through Function.prototype.call indirection. Using a pattern such as p.then.call(p, undefined, cb), the intercepted target is the host call function rather than the promise handler, so sanitization is skipped. Unsanitized host error objects carrying references to host objects reach the sandbox, allowing code execution with host privileges. The fix closes the call and apply indirection so rejection handlers are sanitized correctly.

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 and you expose a host-realm Promise to the sandbox that can reject with host-object properties.

Package

Versions

3.11.6 - 3.11.6

Fixed in 3.11.7

Background info

vm2 is vulnerable to Remote Code Execution in versions 3.11.6 - 3.11.6.

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