CVE-2025-1693: MongoDB Shell may be susceptible to control character Injection via shell output
3.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19674%
CWE
Published
2/27/2025
Updated
2/27/2025
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mongosh | npm | < 2.3.9 | 2.3.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper neutralization of control sequences in shell output. Based on mongosh's architecture:
- Output formatting functions like formatOutput would handle data presentation
- Console methods like log would be primary output vectors
- These locations likely process untrusted database content without adequate sanitization
- Confidence is medium due to lack of direct patch evidence, but matches CWE-150 patterns in CLI tools