Vulnerability · Published Sep 17, 2026 · Assigned by VulnCheck
CVE-2026-92945vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching
Medium 4.2
In plain English
A medium-severity path traversal in vm2 from patriksimek. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | vm2 | 3.11.7 | GHSA-7q3f-wx44-378m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| patriksimek | vm2 | 0 – before 3.11.7 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- GitHub Security Advisory (GHSA-7q3f-wx44-378m) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching third-party-advisory