
Cloud Vulnerability DB
A community-led vulnerabilities database
The MongoDB Shell (mongosh) contains a vulnerability related to control character injection, identified as CVE-2025-1692. This security flaw was discovered and disclosed on February 27, 2025. The vulnerability affects MongoDB Shell versions prior to 2.3.9, where an attacker with control of the user's clipboard could manipulate them to paste text that evaluates arbitrary code (MongoDB JIRA, NVD).
The vulnerability is classified as CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences). It has been assigned a CVSS v3.1 score of 6.3 (Medium), with the following vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H. This scoring indicates that the vulnerability requires local access, high attack complexity, high privileges, and user interaction to exploit, but could result in high impacts to confidentiality, integrity, and availability (MongoDB JIRA, NVD).
If successfully exploited, the vulnerability allows attackers to execute arbitrary code through the MongoDB Shell by manipulating control characters in pasted text. The control characters can be used to obfuscate malicious code, potentially leading to unauthorized code execution within the context of the MongoDB Shell (MongoDB JIRA).
Users are advised to upgrade to MongoDB Shell version 2.3.9 or later, which contains fixes for this vulnerability. This is currently the only confirmed mitigation strategy (MongoDB JIRA, CERT-FR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."