CVE-2025-1756 in Mongodb Mongosh and 12 more products
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
Affects 13 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Mongosh | < 2.3.0 |
| Redhat | Enterprise Linux For Ibm Z Systems | 9.4_s390x |
| Redhat | Enterprise Linux Server Aus | 9.4 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.4_s390x |
| Redhat | Enterprise Linux For Power Little Endian Eus | 9.4_ppc64le |
| Redhat | Enterprise Linux For Arm 64 | 9.4_aarch64 |
| Redhat | Enterprise Linux Eus | 9.4 |
| Redhat | Enterprise Linux Update Services For Sap Solutions | 9.4 |
| Redhat | Codeready Linux Builder Eus | 9.4 |
| Redhat | Codeready Linux Builder For Power Little Endian Eus | 9.4_ppc64le |
| Redhat | Codeready Linux Builder For Arm64 Eus | 9.4_aarch64 |
| Redhat | Codeready Linux Builder For Ibm Z Systems Eus | 9.4_s390x |
| Redhat | Enterprise Linux For Arm 64 Eus | 9.4_aarch64 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-1756 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-235632-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-02-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-426: CWE-426
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
mongosh may be susceptible to local privilege escalation under certain conditions, potentially enabling unauthorized actions on a user's system with elevated privilege.
The vulnerability arises when a crafted file is stored in C:\node_modules\. This file can be executed by mongosh, leading to privilege escalation.
Questions
What is CVE-2025-1756?
mongosh may be susceptible to local privilege escalation under certain conditions, potentially enabling unauthorized actions on a user's system with elevated privilege.
What is the CVSS score for CVE-2025-1756?
CVE-2025-1756 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2025-1756 actively exploited?
No confirmed active exploitation of CVE-2025-1756 as of 2026-09-25.
How do I remediate CVE-2025-1756?
Priority: HIGH. Advisory: https://jira.mongodb.org/browse/MONGOSH-2028 PSIRT: [email protected]
What systems are affected by CVE-2025-1756?
CVE-2025-1756 affects Mongodb Mongosh; Redhat Enterprise Linux For Ibm Z Systems, Enterprise Linux Server Aus, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Little Endian Eus, Enterprise Linux For Arm 64, Enterprise Linux Eus, Enterprise Linux Update Services For Sap Solutions, Codeready Linux Builder Eus, Codeready Linux Builder For Power Little Endian Eus (plus 3 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongosh","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.