CVE-2025-1756
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-1756 is a local privilege escalation vulnerability affecting MongoDB Shell (mongosh) versions prior to 2.3.0. The vulnerability was discovered and disclosed on February 27, 2025. The issue specifically affects Windows-based systems where a crafted file stored in C:\node_modules\ could potentially enable unauthorized actions with elevated privileges (MongoDB JIRA, NVD).

Technical details

The vulnerability is classified as an Untrusted Search Path issue (CWE-426). It has received a CVSS v3.1 base score of 7.5 (HIGH), with the following vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H. This indicates that while local access is required, the vulnerability could lead to significant impact on confidentiality, integrity, and availability of the system (MongoDB JIRA).

Impact

If successfully exploited, this vulnerability could allow an attacker to perform unauthorized actions with elevated privileges on the affected system. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability when exploited (MongoDB JIRA).

Mitigation and workarounds

The primary mitigation is to upgrade MongoDB Shell to version 2.3.0 or later, which contains the fix for this vulnerability (MongoDB JIRA).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management