MongoDB Shell Local Privilege Escalation Vulnerability on Windows

Vulnerability

A local privilege escalation vulnerability has been identified in MongoDB Shell (mongosh) versions prior to 2.3.0. This issue arises when a crafted file is placed in the user's node_modules directory, potentially allowing unauthorized actions to be performed on the user's system with elevated privileges.

Impact

Exploitation of this vulnerability could lead to unauthorized actions being performed on a user's system with elevated privileges.

Remediation

Users can upgrade to MongoDB Shell version 2.3.0 or later to address this vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
3.0
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.