CVE-2025-1692

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
References
Link Resource
https://jira.mongodb.org/browse/MONGOSH-2025 Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*

History

22 Sep 2025, 16:40

Type Values Removed Values Added
References () https://jira.mongodb.org/browse/MONGOSH-2025 - () https://jira.mongodb.org/browse/MONGOSH-2025 - Issue Tracking, Vendor Advisory
CPE cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*
Summary
  • (es) El shell de MongoDB puede ser susceptible a la inyección de caracteres de control, donde un atacante con control del portapapeles del usuario podría manipularlo para pegar texto en Mongosh que evalúa código arbitrario. Los caracteres de control en el texto pegado se pueden utilizar para ofuscar código malicioso. Este problema afecta a las versiones de Mongosh anteriores a la 2.3.9.
First Time Mongodb
Mongodb mongosh

27 Feb 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-27 13:15

Updated : 2025-09-22 16:40


NVD link : CVE-2025-1692

Mitre link : CVE-2025-1692

CVE.ORG link : CVE-2025-1692


JSON object : View

Products Affected

mongodb

  • mongosh
CWE
CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences