MongoDB Shell may be susceptible to Control Character Injection via autocomplete (MongoDB Inc mongosh)
En bref
- Source
- NVD
- EPSS
- EPSS 0.36 % · centile 29 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- mongodb
- Statut NVD
- Analyzed
Rechercher sur…
Description
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.
Faiblesses (CWE)
- CWE-74 — Neutralisation incorrecte d'éléments spéciaux (injection)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H | mongodb |
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H | NVD · cna@mongodb.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-43g5-2wr2-q7vj — MongoDB Shell may be susceptible to Control Character Injection via autocomplete
Références européennes
- ENISA EUVD · EUVD-2025-5466
- GCVE · GCVE-0-2025-1691
Avis du CERT-FR
- CERTFR-2025-AVI-0166 — Multiples vulnérabilités dans MongoDB · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*< 2.3.9
Produits affectés
| Produit | Versions |
|---|---|
| MongoDB Inc · mongosh | affected 0 < 2.3.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |