mongosh <2.3.0: LPE via crafted file in C:\node_modules
CVE-2025-1756 Published on February 27, 2025

mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0

NVD

Vulnerability Analysis

CVE-2025-1756 is exploitable with local system access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
LOCAL
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is an Untrusted Path Vulnerability?

The application searches for critical resources using an externally-supplied search path that can point to resources that are not under the application's direct control.

CVE-2025-1756 has been classified to as an Untrusted Path vulnerability or weakness.


Products Associated with CVE-2025-1756

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-1756 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

MongoDB Inc mongosh:

Exploit Probability

EPSS
0.03%
Percentile
7.13%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.