What’s Vulnerable › Vulnerabilities

CVE-2025-1756: MongoDB Shell may be susceptible to local privilege escalation in Windows

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

How to fix

Upgrade to a fixed version: MongoDB Inc mongosh 2.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-1756 or the next vulnerability affects your stack