# CVE-2025-1693: MongoDB Shell may be susceptible to control character Injection via shell output

- Priority: **Routine**
- Reason: Not severe (CVSS 3.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-27 · Modified: 2025-02-27
- Aliases: GHSA-r95j-4jvf-mrrw
- Record: https://cvemate.com/vulnerability/CVE-2025-1693 · JSON: https://cvemate.com/vulnerability/CVE-2025-1693/json

## Description

```text
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
```

## Signals

- CVSS: 6.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.235%, percentile 15.412%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mongodb, inc. mongosh: \< 2.3.9
- mongodb mongosh: \< 2.3.9
- Npm mongosh (Npm): \< 2.3.9

## References

- <https://jira.mongodb.org/browse/MONGOSH-2026>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1693>
- <https://github.com/mongodb-js/mongosh>

---

Data as of 2026-12-05T03:52:25.618Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
