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 text can be used to obfuscate malicious code. This issue affects mongosh versions prior to 2.3.9
CVE ID: CVE-2025-1692
CVSS Base Severity: MEDIUM
CVSS Base Score: 6.3
CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Vendor: MongoDB Inc
Product: mongosh
EPSS Score: 0.01% (probability of being exploited)
EPSS Percentile: 1.12% (scored less or equal to compared to others)
EPSS Date: 2025-03-28 (when was this score calculated)