CVE-2025-1692

MEDIUM6.3EPSS 0.15%

MongoDB Shell may be susceptible to control character injection via pasting

Published: 2/27/2025Modified: 2/27/2025
Also known as:GHSA-973h-3x6p-qg37

Description

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.3CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

References (3)