All reports
Medium

MongoDB Shell may be susceptible to control character injection via pasting

Affected versions

Affected versions
< 2.3.9
Fixed version
2.3.9

Exploitation

CVE-2025-1692

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-18

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.

Links