Incorrect authorization in vm2 - CVE-2026-92945
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote user to access a package that was not allowlisted.
The vulnerability exists due to improper access control in isPathAllowedForModule in lib/resolver-compat.js when resolving relative requires for external modules under an allowlist. A remote user can cause an allowlisted package to load a prefix-sharing sibling package to access a package that was not allowlisted.
Exploitation requires a NodeVM deployment configured with an external module allowlist and transitive loading disabled, a prefix-sharing sibling package already present in the package layout, and a reachable code path in an allowlisted package that performs the relative require.