Vulnerabilities · 2025 · Mongodb
CVE-2025-1691
Mongodb Mongosh vulnerability
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 interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
Affected products
Mongosh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mongodb Mongosh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Mongodb products
CVE-2025-14847CVE-2025-14345CVE-2025-13644CVE-2025-13643CVE-2025-13507CVE-2025-12893CVE-2025-12657CVE-2025-12119All 113
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.