CVE-2025-1756Mongodb Mongosh
High 7.8
Follow: this CVE · Mongodb · Mongodb Mongosh We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 11
- Auth required
- Yes
- Published
- Feb 27, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-426
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Mongosh.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mongosh |
< 2.3.0 |
2.3.0 |
npm install mongosh@2.3.0 |
Per OSV / GitHub Advisories (GHSA-f5w3-73h4-jpcm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | mongosh | < 2.3.0 |
| redhat | codeready_linux_builder_eus | 9.4 |
| redhat | codeready_linux_builder_for_arm64_eus | 9.4_aarch64 |
| redhat | codeready_linux_builder_for_ibm_z_systems_eus | 9.4_s390x |
| redhat | codeready_linux_builder_for_power_little_endian_eus | 9.4_ppc64le |
| redhat | enterprise_linux_update_services_for_sap_solutions | 9.4 |
| redhat | enterprise_linux_eus | 9.4 |
| redhat | enterprise_linux_for_arm_64 | 9.4_aarch64 |
| redhat | enterprise_linux_for_arm_64_eus | 9.4_aarch64 |
| redhat | enterprise_linux_for_ibm_z_systems | 9.4_s390x |
| 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_server_aus | 9.4 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Vendor Advisory
- access.redhat.com Third Party Advisory