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

- Severity: Low 3.9 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-02-27T12:39:37.520Z
- Modified: 2026-06-17T08:39:36.867Z
- Also known as: GHSA-r95j-4jvf-mrrw
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

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

(As written by CVE List.)

## Affected

- MongoDB Inc mongosh: before 2.3.9
- mongosh (npm): before 2.3.9
- mongodb mongosh: before 2.3.9

## Every score

- mongodb: CVSS:3.1 3.9 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 3.9 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://jira.mongodb.org/browse/MONGOSH-2026> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1693> (advisory)
- <https://github.com/mongodb-js/mongosh> (package)

## Sources

- CVE List: [CVE-2025-1693](https://www.cve.org/CVERecord?id=CVE-2025-1693), CVE Terms of Use, modified 2025-02-27
- GitHub Advisory Database: [GHSA-r95j-4jvf-mrrw](https://github.com/advisories/GHSA-r95j-4jvf-mrrw), CC-BY-4.0, modified 2025-02-27
- NVD: [CVE-2025-1693](https://nvd.nist.gov/vuln/detail/CVE-2025-1693), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1693 · Whole record: https://cve.day/CVE-2025-1693.json · Rebuilt by cve.day 2026-11-25T22:58:54.581Z
