Skip to main content
← All vulnerabilities
CVE-2025-1693GHSA-R95J-4JVF-MRRW

MongoDB Shell may be susceptible to control character Injection via shell output

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: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  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