7.5high
MongoDB Shell may be susceptible to local privilege escalation in Windows
- Severity
- 7.5high CVSS:3.1 by mongodb
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- GHSA-f5w3-73h4-jpcm
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc mongosh | before 2.3.0 | CVE List |
| mongosh (npm) | before 2.3.0 | GitHub Advisory Database |
| mongodb mongosh | before 2.3.0 | NVD |
| redhat codeready_linux_builder_eus | 9.4 | NVD |
| redhat codeready_linux_builder_for_arm64_eus | 9.4_aarch64 | NVD |
| redhat codeready_linux_builder_for_ibm_z_systems_eus | 9.4_s390x | NVD |
| redhat codeready_linux_builder_for_power_little_endian_eus | 9.4_ppc64le | NVD |
| redhat enterprise_linux_update_services_for_sap_solutions | 9.4 | NVD |
| redhat enterprise_linux_eus | 9.4 | NVD |
| redhat enterprise_linux_for_arm_64 | 9.4_aarch64 | NVD |
| redhat enterprise_linux_for_arm_64_eus | 9.4_aarch64 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 9.4_s390x | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 9.4_s390x | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 9.4_ppc64le | NVD |
| redhat enterprise_linux_server_aus | 9.4 | NVD |
All scores
| mongodb | 7.5high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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
GitHub Advisory Database
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 (es)
Mongosh puede ser susceptible a una escalada de privilegios locales en determinadas condiciones, lo que podría permitir acciones no autorizadas en el sistema de un usuario con privilegios elevados, cuando un archivo manipulado se almacena en C:\node_modules\. Este problema afecta a mongosh antes de la versión 2.3.0.
References
| https://jira.mongodb.org/browse/MONGOSH-2028 | issue-tracking, vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2025:1756 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-1756 | advisory | |
| https://github.com/mongodb-js/mongosh | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-1756 changed 2025-02-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f5w3-73h4-jpcm changed 2025-02-27 | CC-BY-4.0 |
| NVD | CVE-2025-1756 changed 2026-06-17 | Public domain |