Improper access control in vm2 - CVE-2026-92958
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote user to write files on the host filesystem.
The vulnerability exists due to improper access control in NodeVM builtin module resolution when processing sandboxed require calls with the builtin wildcard policy and negative builtin entries such as -fs. A remote user can require fs/promises or node:fs/promises to write files on the host filesystem.
Only NodeVM configurations that rely on the '*' builtin wildcard together with negative builtin entries such as -fs are affected. Negative entries are checked by exact name, so denying fs does not deny the fs/promises subpath, and node:-prefixed names are handled inconsistently.