CVE-2026-92945 PUBLISHED

vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching

Assigner: VulnCheck
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 2.3

Product Status

Vendor patriksimek
Product vm2
Versions Default: unaffected
  • affected from 0 to 3.11.7 (excl.)
  • Version 3.11.7 is unaffected

Credits

  • arpitjain099 reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE