Advisory

GHSA-f5w3-73h4-jpcm

Also known as: CVE-2025-1756

Summary

mongosh vulnerable to local privilege escalation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-02-27 18:31 UTC
Modified
2025-02-27 21:27 UTC

Affected packages and fixes

mongosh

npm · All systems

Affected

  • introduced 0, fixed 2.3.0 (semver)

Fixed versions

2.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences