{"id":"CVE-2025-1756","published":"2025-02-27T15:28:11Z","modified":"2025-02-27T16:06:31Z","title":"MongoDB Shell may be susceptible to local privilege escalation in Windows","vendor":"MongoDB Inc","product":"mongosh","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.05355,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOSH-2028","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2025:1756","tags":["third-party-advisory"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"mongosh","versions":["< 2.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T16:02:07.276063Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mongosh","vulnerableRanges":["<2.3.0"],"patched":["2.3.0"],"from":["GHSA-f5w3-73h4-jpcm"],"provenance":"source"}],"summary":{"text":"The flaw is an untrusted search path weakness in mongosh, the MongoDB Shell from MongoDB Inc, on Windows, where it can load a crafted file stored in C:\\node_modules\\. An attacker with local access and low privileges can use this to run unauthorized actions with elevated privileges, but exploitation requires a high-complexity condition and user interaction, and it affects mongosh versions prior to 2.3.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:59Z"},"euvd":{"id":"EUVD-2025-5459","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-1756","published":"2025-02-27","fixed":"2.3.0","kev":false},{"cve":"CVE-2025-1691","published":"2025-02-27","fixed":"2.3.9","kev":false,"link":{"from":"CVE-2025-1756","to":"CVE-2025-1691","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mongosh","fromFixed":"2.3.0","toFixed":"2.3.9","daysApart":0}]}},{"cve":"CVE-2025-1692","published":"2025-02-27","fixed":"2.3.9","kev":false,"link":{"from":"CVE-2025-1756","to":"CVE-2025-1692","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mongosh","fromFixed":"2.3.0","toFixed":"2.3.9","daysApart":0}]}},{"cve":"CVE-2025-1693","published":"2025-02-27","fixed":"2.3.9","kev":false,"link":{"from":"CVE-2025-1756","to":"CVE-2025-1693","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mongosh","fromFixed":"2.3.0","toFixed":"2.3.9","daysApart":0}]}}],"package":"npm:mongosh"}}