ADVISORIES

GitHub Advisory Database

GHSA-f5w3-73h4-jpcm

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.

Affected packages

EcosystemPackageAffected versions
npmmongosh
All versions before 2.3.0 (fixed in 2.3.0)

References