CVE Catalog

CVE-2026-92945

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

Summary

vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison. Attackers can reach non-allowlisted packages sharing a prefix with allowlisted modules by performing relative requires from allowlisted packages when transitive loading is disabled.

Risk Assessment

The vm2 sandbox allowlist can be bypassed, allowing access to unauthorized packages and potential execution of untrusted code in the host context. Organizations using vm2 for code isolation are exposed to privilege escalation.

Recommendation

Update vm2 to version 3.11.7 or later to fix the module allowlist bypass. Verify sandbox configuration and review whether relative requires from allowlisted packages are used.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison. Attackers can reach non-allowlisted packages sharing a prefix with allowlisted modules by performing relative requires from allowlisted packages when transitive loading is disabled.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS