CVE-2025-1692: The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user
CVE-2025-1692 is a medium-severity flaw (CVSS 6.3) affecting mongosh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 80%) |
| CISA exploited list | No |
| Weakness | CWE-150 |
| Published | 2025-02-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-1692?
mongosh: upgrade to 2.3.9. Exact commands for each OS are on this page.
Is CVE-2025-1692 being exploited?
CVE-2025-1692 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-1692 affect?
CVE-2025-1692 affects mongosh. Severity is medium (CVSS 6.3). 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
How urgent is CVE-2025-1692?
Priority 27/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-1756 HIGH 7.5 UPGRADE DOWNGRADE mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unautho
- CVE-2025-1693 LOW 3.9 UPGRADE The MongoDB Shell may be susceptible to control character injection where an attacker with control over the da
- CVE-2025-1691 HIGH 7.6 UPGRADE The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mong