CVE-2025-1756
JSON

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 packageVersionsReported by
MongoDB Inc mongoshbefore 2.3.0CVE List
mongosh (npm)before 2.3.0GitHub Advisory Database
mongodb mongoshbefore 2.3.0NVD
redhat codeready_linux_builder_eus9.4NVD
redhat codeready_linux_builder_for_arm64_eus9.4_aarch64NVD
redhat codeready_linux_builder_for_ibm_z_systems_eus9.4_s390xNVD
redhat codeready_linux_builder_for_power_little_endian_eus9.4_ppc64leNVD
redhat enterprise_linux_update_services_for_sap_solutions9.4NVD
redhat enterprise_linux_eus9.4NVD
redhat enterprise_linux_for_arm_649.4_aarch64NVD
redhat enterprise_linux_for_arm_64_eus9.4_aarch64NVD
redhat enterprise_linux_for_ibm_z_systems9.4_s390xNVD

All scores

mongodb7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-426

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

Sources

SourceRecordLicence
CVE ListCVE-2025-1756 changed 2025-02-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-f5w3-73h4-jpcm changed 2025-02-27CC-BY-4.0
NVDCVE-2025-1756 changed 2026-06-17Public domain