Medium severity4.2NVD Advisory· Published Sep 17, 2026· Updated Sep 17, 2026
CVE-2026-92945
CVE-2026-92945
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vm2npm | < 3.11.7 | 3.11.7 |
Affected products
2- Range: <3.11.7
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7q3f-wx44-378mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-92945ghsaADVISORY
- github.com/patriksimek/vm2/commit/6ac3916da84e060c403e407b6b6318fcc66b0e72ghsaWEB
- github.com/patriksimek/vm2/releases/tag/v3.11.7ghsaWEB
- github.com/patriksimek/vm2/security/advisories/GHSA-7q3f-wx44-378mnvdWEB
- www.vulncheck.com/advisories/vm2-before-3.11.7-module-allowlist-bypass-via-prefix-matchingnvdWEB
News mentions
1- vm2 npm Package: 25 Critical Sandbox Escape Vulnerabilities Disclosed TogetherVypr Intelligence · Sep 18, 2026