Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-1692: The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user

27
Routine
MEDIUM 6.3UPGRADE

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 score6.3 (Medium)
Attack vectorLocal
Attack complexityHigh
Privileges neededHigh
User interactionRequired
EPSS exploit chance0.3% (top 80%)
CISA exploited listNo
WeaknessCWE-150
Published2025-02-27
Last modified2026-06-17
Publisher (CNA): MongoDB, Inc. · Vendor: mongodb

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mongodb mongosh UPGRADE
Affected: < 2.3.9
Fixed in: 2.3.9
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy mongosh || rpm -q mongosh || mongosh --version
2. UPGRADE to 2.3.9 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mongosh
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mongosh
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

MongoDB vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.