CVE-2026-92945: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patriksimek vm2
CVE-2026-92945 is a low-severity path traversal vulnerability in the patriksimek vm2 package before version 3.11.7. The flaw arises from improper pathname limitation in the isPathAllowedForModule function, which uses raw string prefix matching instead of boundary-anchored comparison. This allows attackers to bypass the module allowlist by requiring non-allowlisted packages that share a prefix with allowlisted modules when transitive loading is disabled.
AI Analysis
Technical Summary
The vulnerability in patriksimek vm2 versions prior to 3.11.7 involves the isPathAllowedForModule function performing raw string prefix matching rather than boundary-anchored comparison to enforce module allowlisting. As a result, attackers can exploit this by performing relative requires from allowlisted packages to access non-allowlisted packages that share a prefix with allowed modules, effectively bypassing the allowlist restrictions when transitive loading is disabled.
Potential Impact
An attacker with limited privileges can bypass the module allowlist restrictions and load unauthorized packages that share a prefix with allowed modules. This could lead to unintended code execution or access to restricted modules within the application environment. The CVSS 4.0 score is 2.3, indicating low severity with network attack vector, high attack complexity, and low impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade patriksimek vm2 to version 3.11.7 or later, where this vulnerability is fixed. Patch status is confirmed by the affectedVersions field indicating versions before 3.11.7 are vulnerable. No vendor advisory content was provided, so check the official patriksimek vm2 release notes or repository for the patch details and upgrade instructions.
CVE-2026-92945: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patriksimek vm2
Description
CVE-2026-92945 is a low-severity path traversal vulnerability in the patriksimek vm2 package before version 3.11.7. The flaw arises from improper pathname limitation in the isPathAllowedForModule function, which uses raw string prefix matching instead of boundary-anchored comparison. This allows attackers to bypass the module allowlist by requiring non-allowlisted packages that share a prefix with allowlisted modules when transitive loading is disabled.
CVSS v4.0
Score 2.3low
Affected software
patriksimek
vm2
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in patriksimek vm2 versions prior to 3.11.7 involves the isPathAllowedForModule function performing raw string prefix matching rather than boundary-anchored comparison to enforce module allowlisting. As a result, attackers can exploit this by performing relative requires from allowlisted packages to access non-allowlisted packages that share a prefix with allowed modules, effectively bypassing the allowlist restrictions when transitive loading is disabled.
Potential Impact
An attacker with limited privileges can bypass the module allowlist restrictions and load unauthorized packages that share a prefix with allowed modules. This could lead to unintended code execution or access to restricted modules within the application environment. The CVSS 4.0 score is 2.3, indicating low severity with network attack vector, high attack complexity, and low impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade patriksimek vm2 to version 3.11.7 or later, where this vulnerability is fixed. Patch status is confirmed by the affectedVersions field indicating versions before 3.11.7 are vulnerable. No vendor advisory content was provided, so check the official patriksimek vm2 release notes or repository for the patch details and upgrade instructions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-17T12:43:03.567Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aabfa1555bf5e2cf57f75ea
Added to database: 09/17/2026, 14:32:53 UTC
Last enriched: 09/17/2026, 14:46:57 UTC
Last updated: 09/17/2026, 14:49:22 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.