Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2025-1692

MongoDB Shell may be susceptible to control character injection via pasting

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Inc mongosh

Default version status: unaffected

  • 0 to < 2.3.9affected

References