Control Character Injection Vulnerability in MongoDB Shell
CVE-2025-1692
6.3MEDIUM
Summary
The MongoDB Shell is vulnerable to a control character injection, which can be exploited by an attacker who gains access to a user's clipboard. This vulnerability allows malicious users to paste obfuscated code into the MongoDB Shell (mongosh), potentially leading to arbitrary code execution. The issue specifically affects versions of mongosh before 2.3.9, making it critical for users to upgrade to secure their environments against such injection threats.
Affected Version(s)
mongosh 0 < 2.3.9
References
CVSS V3.1
Score:
6.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
Required
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved