CVE-2025-1693
published 2025-02-27CVE-2025-1693: The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control…
PriorityP433medium6.8CVSS 3.1
AVNACHPRNUIRSUCNIHAH
EPSS
0.19%
9.2th percentile
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
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mongodb | mongosh | < 2.3.9 | 2.3.9 |
| mongodb_inc | mongosh | < 2.3.9 | 2.3.9 |
| mongodb_inc | mongosh | >= 0 < 2.3.9 | 2.3.9 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
MongoDB Shell may be susceptible to control character Injection via shell output
osv·2025-02-27
CVE-2025-1693 [LOW] MongoDB Shell may be susceptible to control character Injection via shell output
MongoDB Shell may be susceptible to control character Injection via shell output
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.
GHSA
MongoDB Shell may be susceptible to control character Injection via shell output
ghsa·2025-02-27
CVE-2025-1693 [LOW] CWE-150 MongoDB Shell may be susceptible to control character Injection via shell output
MongoDB Shell may be susceptible to control character Injection via shell output
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-27
Published