CVE-2025-1693 json
MongoDB Shell may be susceptible to control character Injection via shell output
published last yr. modified 4mo ago also GHSA-r95j-4jvf-mrrw , EUVD-2025-5464
- cvss
- 3.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.
The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
This issue affects mongosh versions prior to 2.3.9
Patch / fix
- npm mongosh 2.3.9
- MongoDB Inc mongosh 2.3.9
Is CVE-2025-1693 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 3.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mongosh | <2.3.9 |
2.3.9 |
Affected products
- MongoDB Inc mongosh
Classification
- Weakness
-
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
References
-
jira.mongodb.org
/browse/MONGOSH-2026
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-1693
advisory
-
github.com
/mongodb-js/mongosh
package
Sources
- CVE List CVE-2025-1693
- GitHub Advisory GHSA-r95j-4jvf-mrrw
- NVD CVE-2025-1693
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.