CVE-2025-1692
published 2025-02-27CVE-2025-1692: 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…
PriorityP349high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.22%
13.1th percentile
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
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mongodb | mongosh | < 2.3.9 | 2.3.9 |
| mongodb_inc | mongosh | < 2.3.9 | 2.3.9 |
| mongodb_inc | mongosh | >= 0 < 2.3.9 | 2.3.9 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
MongoDB Shell may be susceptible to control character injection via pasting
ghsa·2025-02-27
CVE-2025-1692 [MEDIUM] CWE-150 MongoDB Shell may be susceptible to control character injection via pasting
MongoDB Shell may be susceptible to control character injection via pasting
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.
OSV
MongoDB Shell may be susceptible to control character injection via pasting
osv·2025-02-27
CVE-2025-1692 [MEDIUM] MongoDB Shell may be susceptible to control character injection via pasting
MongoDB Shell may be susceptible to control character injection via pasting
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-27
Published