MongoDB mongosh up to 2.2.x File C:\node_modules\ untrusted search path
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in MongoDB mongosh up to 2.2.x. This affects an unknown function of the file C:\node_modules\ of the component File Handler. Such manipulation leads to untrusted search path. This vulnerability is documented as CVE-2025-1756. The attack needs to be performed locally. There is not any exploit available. You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in MongoDB mongosh up to 2.2.x. Affected by this issue is some unknown functionality of the file C:\node_modules\ of the component File Handler. The manipulation with an unknown input leads to a untrusted search path vulnerability. Using CWE to declare the problem leads to CWE-426. The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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
The weakness was released by T. Doğa Gelişli as RHSA-2025:1756. The advisory is available at jira.mongodb.org. This vulnerability is handled as CVE-2025-1756 since 02/27/2025. The exploitation is known to be difficult. Local access is required to approach this attack. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1574 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 234124 (MongoDB Shell < 2.3.0 Control Character Injection (MONGOSH-2028)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.3.0 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (234124). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (mongodb): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Untrusted search pathCWE: CWE-426
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 234124
Nessus Name: MongoDB Shell < 2.3.0 Control Character Injection (MONGOSH-2028)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: mongosh 2.3.0
Timeline
02/27/2025 🔍02/27/2025 🔍
02/27/2025 🔍
04/11/2025 🔍
Sources
Advisory: RHSA-2025:1756Researcher: T. Doğa Gelişli
Status: Confirmed
CVE: CVE-2025-1756 (🔍)
GCVE (CVE): GCVE-0-2025-1756
GCVE (VulDB): GCVE-100-297866
Entry
Created: 02/27/2025 17:47Updated: 04/11/2025 04:38
Changes: 02/27/2025 17:47 (68), 04/11/2025 04:38 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.