MongoDB Shell may be susceptible to Control Character Injection via autocomplete
- Severity:
- High
Description
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.
Recommendation
Update the mongosh package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.3.9
- Patched version(s): 2.3.9
References
Related Issues
- MongoDB Shell may be susceptible to control character Injection via shell output - CVE-2025-1693
- PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF - CVE-2024-4367
- create-choo-app3 is vulnerable to Command Injection via the devInstall function - CVE-2022-25855
- Vue I18n Allows Prototype Pollution in `handleFlatJson` (GHSA-p2ph-7g93-hw3m) 5 - CVE-2025-27597
- Tags:
- npm
- mongosh
Anything's wrong? Let us know Last updated on February 27, 2025