# CVE-2025-1692: MongoDB Shell may be susceptible to control character injection via pasting

- Severity: Medium 6.3 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-27T12:37:00.376Z
- Modified: 2026-06-17T08:39:36.713Z
- Also known as: GHSA-973h-3x6p-qg37
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## Description

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

(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 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

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

## Sources

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

---

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