Skip to main content

CVE-2026-92945: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patriksimek vm2

0
Low
VulnerabilityCVE-2026-92945cvecve-2026-92945
Published: 09/17/2026 (09/17/2026, 13:46:06 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

patriksimek

vm2

Affected versions
>=0 <3.11.7
vm2
pkg:npm/vm2
Affected versions
>=0 <3.11.7

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

AILast updated: 09/17/2026, 14:46:57 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses