Module access bypass via unbounded path-prefix comparison
Published Sep 17, 2026 · Updated Sep 17, 2026
Module allowlist bypass in vm2 before 3.11.7 allows attackers to load restricted packages through relative imports in NodeVM. LegacyResolver.isPathAllowedForModule in lib/resolver-compat.js compares resolved paths with an allowed module's path using a raw prefix test without checking a directory boundary. Exploitation requires sandbox execution, disabled transitive loading, an existing prefix-sharing sibling package, and a reachable relative import from an allowed package; access extends to that package rather than establishing an unrestricted sandbox escape.
Summary
What happened
Module allowlist bypass in vm2 before 3.11.7 allows attackers to load restricted packages through relative imports in NodeVM. LegacyResolver.isPathAllowedForModule in lib/resolver-compat.js compares resolved paths with an allowed module's path using a raw prefix test without checking a directory boundary. Exploitation requires sandbox execution, disabled transitive loading, an existing prefix-sharing sibling package, and a reachable relative import from an allowed package; access extends to that package rather than establishing an unrestricted sandbox escape.
The record
- CVE
- CVE-2026-92945
- Published
- Sep 17, 2026
- Updated
- Sep 17, 2026
- Vendor
- Patrik Simek
- Product
- vm2
- Classifications
- CWE-863, CWE-1025, CWE-22
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 17, 2026CVE publishedPublication date reported by the CVE source.
- Sep 17, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.11.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
- Upstream module-allowlist bypass regression reproducerproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us