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
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc | mongosh | < 2.3.9 |
References
- https://jira.mongodb.org/browse/MONGOSH-2025Issue Tracking, Vendor Advisory
Timeline
- Published
- Feb 27, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed