CVE-2025-1691CWE-74

MongoDB Shell may be susceptible to Control Character Injection via autocomplete

High · published February 27, 2025

CVSS v3.1
7.6
EPSS
0%
Percentile
28.1
In the wild
Unconfirmed
What it is

The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9.

The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00356 · 28.1th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2025-02-27T12:34Z
EPSS history
Timeline
  • 27 FEB 12:34Z
    MongoDB Shell may be susceptible to Control Character Injection via autocomplete
    cvelistv5