NetSight
high7.5

CVE-2025-1756

mongosh vulnerable to local privilege escalation

Impact

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 packages

EcosystemPackageAffectedFixed in
npmmongosh< 2.3.02.3.0

Affected products

VendorProductAffected versions
MongodbMongosh
before 2.3.0
RedhatCodeready Linux Builder Eus
Version 9.4
RedhatCodeready Linux Builder For Arm64 Eus
Version 9.4_aarch64
RedhatCodeready Linux Builder For Ibm Z Systems Eus
Version 9.4_s390x
RedhatCodeready Linux Builder For Power Little Endian Eus
Version 9.4_ppc64le
RedhatEnterprise Linux Update Services For Sap Solutions
Version 9.4
RedhatEnterprise Linux Eus
Version 9.4
RedhatEnterprise Linux For Arm 64
Version 9.4_aarch64
RedhatEnterprise Linux For Arm 64 Eus
Version 9.4_aarch64
RedhatEnterprise Linux For Ibm Z Systems
Version 9.4_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus
Version 9.4_s390x
RedhatEnterprise Linux For Power Little Endian Eus
Version 9.4_ppc64le

Weakness classification

References