Skip to main content
← All vulnerabilities
CVE-2026-92945GHSA-7Q3F-WX44-378M

vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • patriksimek vm2

    fixed in 3.11.7

  • vm2npm

    fixed in 3.11.7

References 2

GitHub · patriksimek/vm2

vulncheck.com