CVE-2025-1692
MongoDB Shell may be susceptible to control character injection via pasting
6.3
MEDIUM
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2025-1692
To remediate CVE-2025-1692, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.9 or later
Is CVE-2025-1692 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.3.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |