CISA list

● npm package

mongosh

Mongosh has four security advisories. The newest release any of them names as the fix is 2.3.9.

As of , mongosh has four security advisories. The newest release any of them names as the fix is 2.3.9.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 2.3.92.3.94 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2025-1756GHSA-f5w3-73h4-jpcmmongosh vulnerable to local privilege escalationHigh severityBefore 2.3.02.3.0
CVE-2025-1691GHSA-43g5-2wr2-q7vjMongoDB Shell may be susceptible to Control Character Injection via autocompleteHigh severityBefore 2.3.92.3.9
CVE-2025-1692GHSA-973h-3x6p-qg37MongoDB Shell may be susceptible to control character injection via pastingModerate severityBefore 2.3.92.3.9
CVE-2025-1693GHSA-r95j-4jvf-mrrwMongoDB Shell may be susceptible to control character Injection via shell outputLow severityBefore 2.3.92.3.9

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0