NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-1756: mongosh vulnerable to local privilege escalation

highCVSS 3.1 7.5GHSA-f5w3-73h4-jpcm

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:\nodemodules\. This issue affects mongosh prior to 2.3.0.

Published Feb 27, 2025

Affected packages

mongosh

Ecosystem
npm
Affected
< 2.3.0
Fixed in
2.3.0
Check
npm ls mongosh

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries