CVE-2025-1756

High

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

SeverityHigh
CVSS7.5
Exploit probability—
ProductMongodb Mongosh
PublishedFeb 27, 2025
First seenFeb 27, 2025
Weakness typeCWE-426CWE-426

How to fix

Update
  • mongodb mongosh2.3.0 or later
  • mongosh2.3.0 or later

Affected products

ProductAffected versionsFixed in
mongodb mongoshv < 2.3.02.3.0
redhat codeready_linux_builder_eus9.4—
redhat codeready_linux_builder_for_arm64_eus9.4_aarch64—
redhat codeready_linux_builder_for_ibm_z_systems_eus9.4_s390x—
redhat codeready_linux_builder_for_power_little_endian_eus9.4_ppc64le—
redhat enterprise_linux_update_services_for_sap_solutions9.4—
redhat enterprise_linux_eus9.4—
redhat enterprise_linux_for_arm_649.4_aarch64—
redhat enterprise_linux_for_arm_64_eus9.4_aarch64—
redhat enterprise_linux_for_ibm_z_systems9.4_s390x—
redhat enterprise_linux_for_ibm_z_systems_eus9.4_s390x—
redhat enterprise_linux_for_power_little_endian_eus9.4_ppc64le—
redhat enterprise_linux_server_aus9.4—
mongoshnpmv < 2.3.02.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-1756 · Mongodb Mongosh · Dark Radar