p PatchFirst

CVE-2026-92945

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 2.3 · Low · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vm2

    Versions
    • ≥ 0, < 3.11.7: Affected (semver)
    • 3.11.7: Not affected (semver)

    Update to 3.11.7

  • vm2 npm

    Affected ranges
    • SEMVER: < 3.11.7

    Update to 3.11.7

Original sources

Check your server →