mongosh
npm4 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting mongoshpage 1 of 1
- CVE-2025-1691HIGHCVSS 7.6EG 7.6✓ Fixed in 2.3.92025-02-27
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user inter…
- CVE-2025-1692MEDIUMCVSS 6.3EG 6.3✓ Fixed in 2.3.92025-02-27
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text into mongosh that evaluates arbitrary code. Control characters in the pasted t…
- CVE-2025-1693LOWCVSS 3.9EG 3.9✓ Fixed in 2.3.92025-02-27
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages…
- CVE-2025-1756HIGHCVSS 7.5EG 7.5✓ Fixed in 2.3.02025-02-27
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 m…
Check whether mongosh is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for mongosh CVEs against the assets you own.
Start Free Scan →