{"id":"CVE-2025-1693","published":"2025-02-27T12:39:37Z","modified":"2025-02-27T15:20:13Z","title":"MongoDB Shell may be susceptible to control character Injection via shell output","vendor":"MongoDB Inc","product":"mongosh","tier":"tail","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.\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\n\n\nThis issue affects mongosh versions prior to 2.3.9","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00225,"percentile":0.13483,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOSH-2026","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":2.7},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"mongosh","versions":["< 2.3.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-27T14:25:17.958882Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mongosh","vulnerableRanges":["<2.3.9"],"patched":["2.3.9"],"from":["GHSA-r95j-4jvf-mrrw"],"provenance":"source"}],"summary":{"text":"MongoDB Shell (mongosh) fails to neutralise control characters in database output, so the shell can display text that does not reflect what the database actually returned. An attacker who controls the contents of a cluster that mongosh is connected to can exploit this, with user interaction required, to present falsified messages that appear to come from mongosh or the operating system and mislead the user into unsafe actions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:27Z"},"euvd":{"id":"EUVD-2025-5464","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-1756","published":"2025-02-27","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2025-1756","to":"CVE-2025-1693","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mongosh","fromFixed":"2.3.0","toFixed":"2.3.9","daysApart":0}]}},{"cve":"CVE-2025-1691","published":"2025-02-27","fixed":"2.3.9","kev":false},{"cve":"CVE-2025-1692","published":"2025-02-27","fixed":"2.3.9","kev":false},{"cve":"CVE-2025-1693","published":"2025-02-27","fixed":"2.3.9","kev":false}],"package":"npm:mongosh"}}