MongoDB mongosh up to 2.3.8 Control Character control sequence
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in MongoDB mongosh up to 2.3.8 and classified as problematic. This issue affects some unknown processing of the component Control Character Handler. The manipulation results in control sequence. This vulnerability is known as CVE-2025-1692. It is possible to launch the attack remotely. No exploit is available. It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in MongoDB mongosh up to 2.3.8. Affected is an unknown code of the component Control Character Handler. The manipulation with an unknown input leads to a control sequence vulnerability. CWE is classifying the issue as CWE-150. The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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
The advisory is shared for download at jira.mongodb.org. This vulnerability is traded as CVE-2025-1692 since 02/25/2025. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation requires an enhanced level of successful authentication. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 234125 (MongoDB Shell < 2.3.9 Control Character Injection (MONGOSH-2024, MONGOSH-2025, MONGOSH-2026)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.3.9 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (234125). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.3
VulDB Base Score: 3.9
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 6.3
CNA Vector (mongodb): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Control sequenceCWE: CWE-150 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 234125
Nessus Name: MongoDB Shell < 2.3.9 Control Character Injection (MONGOSH-2024, MONGOSH-2025, MONGOSH-2026)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: mongosh 2.3.9
Timeline
02/25/2025 🔍02/27/2025 🔍
02/27/2025 🔍
09/22/2025 🔍
Sources
Advisory: jira.mongodb.orgStatus: Confirmed
CVE: CVE-2025-1692 (🔍)
GCVE (CVE): GCVE-0-2025-1692
GCVE (VulDB): GCVE-100-297840
Entry
Created: 02/27/2025 14:35Updated: 09/22/2025 19:49
Changes: 02/27/2025 14:35 (64), 04/11/2025 04:38 (2), 09/22/2025 19:49 (12)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.