Intel

AIKIDO-2026-594672

vm2 is vulnerable to Improper Authorization

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

42

CVE Score

Medium

Improper Authorization

Are you affected? Scan for Free

TL;DR

The external module allowlist decides whether a resolved path belongs to an allowlisted module using a raw prefix comparison with no path-separator anchoring. A sibling package whose name shares a prefix with an allowlisted module is therefore treated as allowlisted. Code running under an allowlist with transitive loading disabled can reach non-allowlisted packages through relative requires. The fix anchors the comparison on the path separator so only the intended module directory matches.

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, use NodeVM with an external module allowlist, and have transitive loading disabled while executing untrusted guest code.

Package

Versions

0.0.1 - 3.11.6

Fixed in 3.11.7

Background info

vm2 is vulnerable to Improper Authorization in versions 0.0.1 - 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