CVE-2025-1693
published low CVSS 3.1 · 3.9MongoDB Shell may be susceptible to control character Injection via shell output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | mongosh0 to < 2.3.9 · Other versions: unaffected | Affected | Not stated | mongodb |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | mongosh | 0 to < 2.3.9 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
1Provider assertions
2mongodb · cna
MongoDB Shell may be susceptible to control character Injection via shell output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d9a020d80ed384c363f55bdcd84c2b14c8d7a09cb81c4a218f97e5b680f15ba4
- Ingested
- 23 Sep 2026, 08:38:52 UTC
- Source record
- Official CVE record