CVE-2025-1692Published Feb 27, 2025 · Feb 27Updated Oct 28
MongoDB Shell may be susceptible to control character injection via pasting
MongoDB Inc mongosh
Medium6.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mongosh npm |
|
|
Original description
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
From the CVE record · mongodb