CVE-2025-1692: MongoDB Mongosh
High severity, CVSS 8.8. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- MongoDB Mongosh, before 2.3.9: fixed in 2.3.9
Affected products
Affected packages
- mongosh (npm)
Published 2025-02-27. Last modified 2026-06-17.