CVE-2025-1692

published 27 Feb 2025 · updated 27 Feb 2025

MongoDB Shell may be susceptible to control character injection via pasting

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in mongosh 2.3.9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBmongosh<2.3.92.3.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-1692 severity on Zeptric[![CVE-2025-1692](https://zeptric.io/badge/cve/CVE-2025-1692.svg)](https://zeptric.io/cve/CVE-2025-1692)