Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-92945 EUVD-2026-81594GHSA-7q3f-wx44-378mGHSA-8mvv-mcc3-xwhh

vm2 before 3.11.7 Module Allowlist Bypass via Prefix Matching

Published Sep 17, 2026 · Updated Sep 17, 2026 · 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.

Affected products

VendorProductAffectedFixed
patriksimek vm2 < 3.11.7 3.11.7

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.7 3.11.7 GHSA-7q3f-wx44-378m

Advisories 1

References