{"id":"CVE-2025-1692","published":"2025-02-27T12:37:00Z","modified":"2025-02-27T15:19:13Z","title":"MongoDB Shell may be susceptible to control character injection via pasting","vendor":"MongoDB Inc","product":"mongosh","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00278,"percentile":0.20725,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOSH-2025","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.14},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"mongosh","versions":["< 2.3.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T14:31:11.143757Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mongosh","vulnerableRanges":["<2.3.9"],"patched":["2.3.9"],"from":["GHSA-973h-3x6p-qg37"],"provenance":"source"}],"summary":{"text":"The MongoDB Shell (mongosh) is susceptible to control character injection through pasted text, where control characters can obfuscate malicious code that is evaluated when pasted into the shell. Exploitation requires an attacker who controls the user's clipboard, local access to the attack vector, and user interaction to paste the crafted text.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:18Z"},"euvd":{"id":"EUVD-2025-5465","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-1692","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"}}