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
{
"cwe_ids": [
"CWE-426"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1756.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "2.3.0"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "mongodb"
}{
"cpe": "cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0"
}
],
"source": "CPE_RANGE"
}