CVE-2025-1756 json
MongoDB Shell may be susceptible to local privilege escalation in Windows
published 2025-02-27 20 mo ago modified 2026-06-17 4 mo ago also GHSA-f5w3-73h4-jpcm , EUVD-2025-5459
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- npm mongosh 2.3.0
- MongoDB Inc mongosh 2.3.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mongosh | <2.3.0 |
2.3.0 |
Affected products
- MongoDB Inc mongosh
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
jira.mongodb.org
/browse/MONGOSH-2028
web, issue-tracking, vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:1756
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-1756
advisory
-
github.com
/mongodb-js/mongosh
package
Sources
- CVE List CVE-2025-1756
- GitHub Advisory GHSA-f5w3-73h4-jpcm
- NVD CVE-2025-1756
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.