Skip to content
OpenAdvisories
High · 7.5 CVE-2025-1756 EUVD-2025-5459GHSA-f5w3-73h4-jpcm

MongoDB Shell may be susceptible to local privilege escalation in Windows

Published Feb 27, 2025 · Updated Feb 27, 2025 · Assigned by mongodb

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

Affected products

VendorProductAffectedFixed
MongoDB mongosh < 2.3.0 2.3.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm mongosh < 2.3.0 2.3.0 GHSA-f5w3-73h4-jpcm

Advisories 1

References