# CVE-2026-92945: vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-09-17T13:46:06.857Z
- Modified: 2026-10-01T15:45:05.655Z
- Also known as: GHSA-7q3f-wx44-378m
- Weaknesses: CWE-22, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: before 3.11.7 (not affected: 3.11.7)
- vm2 (npm): before 3.11.7

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-7q3f-wx44-378m> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-before-3.11.7-module-allowlist-bypass-via-prefix-matching> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92945> (advisory)
- <https://github.com/patriksimek/vm2/commit/6ac3916da84e060c403e407b6b6318fcc66b0e72> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.7> (web)

## Sources

- CVE List: [CVE-2026-92945](https://www.cve.org/CVERecord?id=CVE-2026-92945), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-7q3f-wx44-378m](https://github.com/advisories/GHSA-7q3f-wx44-378m), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-92945](https://nvd.nist.gov/vuln/detail/CVE-2026-92945), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-92945 · Whole record: https://cve.day/CVE-2026-92945.json · Rebuilt by cve.day 2026-11-25T22:59:39.246Z
