Skip to main content
← All vulnerabilities
CVE-2025-1692GHSA-973H-3X6P-QG37

MongoDB Shell may be susceptible to control character injection via pasting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • MongoDB Inc mongosh

    fixed in 2.3.9

  • mongoshnpm

    fixed in 2.3.9

References 1

jira.mongodb.org