Live threats

All CVEs / Mongodb

CVE-2025-1756Mongodb Mongosh

High 7.8

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongosh.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mongodbmongosh< 2.3.0
redhatcodeready_linux_builder_eus9.4
redhatcodeready_linux_builder_for_arm64_eus9.4_aarch64
redhatcodeready_linux_builder_for_ibm_z_systems_eus9.4_s390x
redhatcodeready_linux_builder_for_power_little_endian_eus9.4_ppc64le
redhatenterprise_linux_update_services_for_sap_solutions9.4
redhatenterprise_linux_eus9.4
redhatenterprise_linux_for_arm_649.4_aarch64
redhatenterprise_linux_for_arm_64_eus9.4_aarch64
redhatenterprise_linux_for_ibm_z_systems9.4_s390x
redhatenterprise_linux_for_ibm_z_systems_eus9.4_s390x
redhatenterprise_linux_for_power_little_endian_eus9.4_ppc64le
redhatenterprise_linux_server_aus9.4

Official sources

References

Links published by the sources. Open them with care.