Search criteria

14 vulnerabilities found for mongosh by mongodb

CERTFR-2025-AVI-0166

Vulnerability from certfr_avis - Published: - Updated:

De multiples vulnérabilités ont été découvertes dans MongoDB. Elles permettent à un attaquant de provoquer une élévation de privilèges et un contournement de la politique de sécurité.

Solutions

Se référer au bulletin de sécurité de l'éditeur pour l'obtention des correctifs (cf. section Documentation).

Impacted products
Vendor Product Description
MongoDB Mongosh mongosh versions antérieures à 2.3.9
MongoDB Compass Compass version antérieures à 1.42.1
References

Show details on source website

{
  "$ref": "https://www.cert.ssi.gouv.fr/openapi.json",
  "affected_systems": [
    {
      "description": "mongosh versions ant\u00e9rieures \u00e0 2.3.9",
      "product": {
        "name": "Mongosh",
        "vendor": {
          "name": "MongoDB",
          "scada": false
        }
      }
    },
    {
      "description": "Compass version ant\u00e9rieures \u00e0 1.42.1",
      "product": {
        "name": "Compass",
        "vendor": {
          "name": "MongoDB",
          "scada": false
        }
      }
    }
  ],
  "affected_systems_content": "",
  "content": "## Solutions\n\nSe r\u00e9f\u00e9rer au bulletin de s\u00e9curit\u00e9 de l\u0027\u00e9diteur pour l\u0027obtention des correctifs (cf. section Documentation).",
  "cves": [
    {
      "name": "CVE-2025-1692",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-1692"
    },
    {
      "name": "CVE-2025-1691",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-1691"
    },
    {
      "name": "CVE-2025-1756",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-1756"
    },
    {
      "name": "CVE-2025-1755",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-1755"
    },
    {
      "name": "CVE-2025-1693",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-1693"
    }
  ],
  "links": [],
  "reference": "CERTFR-2025-AVI-0166",
  "revisions": [
    {
      "description": "Version initiale",
      "revision_date": "2025-02-28T00:00:00.000000"
    }
  ],
  "risks": [
    {
      "description": "Contournement de la politique de s\u00e9curit\u00e9"
    },
    {
      "description": "\u00c9l\u00e9vation de privil\u00e8ges"
    }
  ],
  "summary": "De multiples vuln\u00e9rabilit\u00e9s ont \u00e9t\u00e9 d\u00e9couvertes dans MongoDB. Elles permettent \u00e0 un attaquant de provoquer une \u00e9l\u00e9vation de privil\u00e8ges et un contournement de la politique de s\u00e9curit\u00e9.",
  "title": "Multiples vuln\u00e9rabilit\u00e9s dans MongoDB",
  "vendor_advisories": [
    {
      "published_at": "2025-02-27",
      "title": "Bulletin de s\u00e9curit\u00e9 MongoDB MONGOSH-2026",
      "url": "https://jira.mongodb.org/browse/MONGOSH-2026"
    },
    {
      "published_at": "2025-02-27",
      "title": "Bulletin de s\u00e9curit\u00e9 MongoDB MONGOSH-2028",
      "url": "https://jira.mongodb.org/browse/MONGOSH-2028"
    },
    {
      "published_at": "2025-02-27",
      "title": "Bulletin de s\u00e9curit\u00e9 MongoDB MONGOSH-2025",
      "url": "https://jira.mongodb.org/browse/MONGOSH-2025"
    },
    {
      "published_at": "2025-02-27",
      "title": "Bulletin de s\u00e9curit\u00e9 MongoDB COMPASS-9058",
      "url": "https://jira.mongodb.org/browse/COMPASS-9058"
    },
    {
      "published_at": "2025-02-27",
      "title": "Bulletin de s\u00e9curit\u00e9 MongoDB MONGOSH-2024",
      "url": "https://jira.mongodb.org/browse/MONGOSH-2024"
    }
  ]
}

FKIE_CVE-2025-1756

Vulnerability from fkie_nvd - Published: 2025-02-27 16:15 - Updated: 2025-04-09 14:07
Summary
mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "64C2BFE9-64C0-4711-A311-1DFDFEBE4477",
              "versionEndExcluding": "2.3.0",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:redhat:codeready_linux_builder_eus:9.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "2C4B0BD8-527F-4728-A64B-F8F06D5EDEC5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:9.4_aarch64:*:*:*:*:*:*:*",
              "matchCriteriaId": "88F9EB73-1F19-4BD9-AB19-36F9F1A5156E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:*",
              "matchCriteriaId": "35232613-B8B5-4F4D-A6CD-3823C6666534",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:*",
              "matchCriteriaId": "03A1BB59-4BE6-4339-ABB7-C18B7D899FB9",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:redhat:enterprise_linux_update_services_for_sap_solutions:9.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "F0F1D571-6C70-45D9-BC76-C6DF33967127",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "B03506D7-0FCD-47B7-90F6-DDEEB5C5A733",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.4_aarch64:*:*:*:*:*:*:*",
              "matchCriteriaId": "DBF70805-7EBF-4731-83DB-D71F7A646B0F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.4_aarch64:*:*:*:*:*:*:*",
              "matchCriteriaId": "01363FFA-F7A6-43FC-8D47-E67F95410095",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.4_s390x:*:*:*:*:*:*:*",
              "matchCriteriaId": "069180B4-BA50-4AD0-8BA9-83F8005E58BE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:*",
              "matchCriteriaId": "F843B777-5C64-4CAE-80D6-89DC2C9515B1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:*",
              "matchCriteriaId": "FC3CBA5D-9E5D-4C46-B37E-7BB35BE8DADB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:redhat:enterprise_linux_server_aus:9.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "39D345D3-108A-4551-A112-5EE51991411A",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user\u0027s system with elevated privilege, when a crafted file is stored in C:\\node_modules\\. This issue affects mongosh prior to 2.3.0"
    },
    {
      "lang": "es",
      "value": "Mongosh puede ser susceptible a una escalada de privilegios locales en determinadas condiciones, lo que podr\u00eda permitir acciones no autorizadas en el sistema de un usuario con privilegios elevados, cuando un archivo manipulado se almacena en C:\\node_modules\\. Este problema afecta a mongosh antes de la versi\u00f3n 2.3.0."
    }
  ],
  "id": "CVE-2025-1756",
  "lastModified": "2025-04-09T14:07:26.960",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 0.8,
        "impactScore": 6.0,
        "source": "cna@mongodb.com",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2025-02-27T16:15:39.287",
  "references": [
    {
      "source": "cna@mongodb.com",
      "tags": [
        "Vendor Advisory",
        "Issue Tracking"
      ],
      "url": "https://jira.mongodb.org/browse/MONGOSH-2028"
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://access.redhat.com/errata/RHSA-2025:1756"
    }
  ],
  "sourceIdentifier": "cna@mongodb.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-426"
        }
      ],
      "source": "cna@mongodb.com",
      "type": "Secondary"
    },
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-426"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

FKIE_CVE-2025-1691

Vulnerability from fkie_nvd - Published: 2025-02-27 13:15 - Updated: 2025-09-22 16:42
Summary
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.
References
cna@mongodb.comhttps://jira.mongodb.org/browse/MONGOSH-2024Issue Tracking, Vendor Advisory
Impacted products
Vendor Product Version
mongodb mongosh *

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "A1799B29-2838-4948-BD93-2D8611DB9620",
              "versionEndExcluding": "2.3.9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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 \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u00a02.3.9.\u00a0\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
    },
    {
      "lang": "es",
      "value": "El shell de MongoDB puede ser susceptible a la inyecci\u00f3n de caracteres de control, donde un atacante con control de la funci\u00f3n de autocompletado de mongosh puede usar la funci\u00f3n de autocompletado para ingresar y ejecutar texto malicioso ofuscado. Esto requiere la interacci\u00f3n del usuario, en la que el usuario usa la tecla \"tabulador\" para autocompletar el texto que es un prefijo de la funci\u00f3n de autocompletado preparada por el atacante. Este problema afecta a las versiones de mongosh anteriores a la 2.3.9. La vulnerabilidad solo se puede explotar cuando mongosh est\u00e1 conectado a un cl\u00faster que est\u00e1 controlado parcial o totalmente por un atacante."
    }
  ],
  "id": "CVE-2025-1691",
  "lastModified": "2025-09-22T16:42:14.620",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 7.6,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "HIGH",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 6.0,
        "source": "cna@mongodb.com",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2025-02-27T13:15:11.253",
  "references": [
    {
      "source": "cna@mongodb.com",
      "tags": [
        "Issue Tracking",
        "Vendor Advisory"
      ],
      "url": "https://jira.mongodb.org/browse/MONGOSH-2024"
    }
  ],
  "sourceIdentifier": "cna@mongodb.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-74"
        }
      ],
      "source": "cna@mongodb.com",
      "type": "Secondary"
    }
  ]
}

FKIE_CVE-2025-1692

Vulnerability from fkie_nvd - Published: 2025-02-27 13:15 - Updated: 2025-09-22 16:40
Summary
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
References
cna@mongodb.comhttps://jira.mongodb.org/browse/MONGOSH-2025Issue Tracking, Vendor Advisory
Impacted products
Vendor Product Version
mongodb mongosh *

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "A1799B29-2838-4948-BD93-2D8611DB9620",
              "versionEndExcluding": "2.3.9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user\u2019s 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"
    },
    {
      "lang": "es",
      "value": "El shell de MongoDB puede ser susceptible a la inyecci\u00f3n de caracteres de control, donde un atacante con control del portapapeles del usuario podr\u00eda manipularlo para pegar texto en Mongosh que eval\u00faa c\u00f3digo arbitrario. Los caracteres de control en el texto pegado se pueden utilizar para ofuscar c\u00f3digo malicioso. Este problema afecta a las versiones de Mongosh anteriores a la 2.3.9."
    }
  ],
  "id": "CVE-2025-1692",
  "lastModified": "2025-09-22T16:40:56.037",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "HIGH",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 0.3,
        "impactScore": 5.9,
        "source": "cna@mongodb.com",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2025-02-27T13:15:11.413",
  "references": [
    {
      "source": "cna@mongodb.com",
      "tags": [
        "Issue Tracking",
        "Vendor Advisory"
      ],
      "url": "https://jira.mongodb.org/browse/MONGOSH-2025"
    }
  ],
  "sourceIdentifier": "cna@mongodb.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-150"
        }
      ],
      "source": "cna@mongodb.com",
      "type": "Secondary"
    }
  ]
}

FKIE_CVE-2025-1693

Vulnerability from fkie_nvd - Published: 2025-02-27 13:15 - Updated: 2025-09-22 16:39
Summary
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker. This issue affects mongosh versions prior to 2.3.9
References
cna@mongodb.comhttps://jira.mongodb.org/browse/MONGOSH-2026Issue Tracking, Vendor Advisory
Impacted products
Vendor Product Version
mongodb mongosh *

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "A1799B29-2838-4948-BD93-2D8611DB9620",
              "versionEndExcluding": "2.3.9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\n\n\nThis issue affects mongosh versions prior to 2.3.9"
    },
    {
      "lang": "es",
      "value": "El shell de MongoDB puede ser susceptible a la inyecci\u00f3n de caracteres de control, en cuyo caso un atacante con control sobre el contenido del cl\u00faster de la base de datos puede inyectar caracteres de control en la salida del shell. Esto puede provocar la visualizaci\u00f3n de mensajes falsificados que parecen originarse en mongosh o en el sistema operativo subyacente, lo que puede inducir a error a los usuarios para que ejecuten acciones inseguras. La vulnerabilidad solo se puede explotar cuando mongosh est\u00e1 conectado a un cl\u00faster que est\u00e1 controlado parcial o totalmente por un atacante. Este problema afecta a las versiones de mongosh anteriores a la 2.3.9."
    }
  ],
  "id": "CVE-2025-1693",
  "lastModified": "2025-09-22T16:39:57.180",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 3.9,
          "baseSeverity": "LOW",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "HIGH",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L",
          "version": "3.1"
        },
        "exploitabilityScore": 0.5,
        "impactScore": 3.4,
        "source": "cna@mongodb.com",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 6.8,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 5.2,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2025-02-27T13:15:11.563",
  "references": [
    {
      "source": "cna@mongodb.com",
      "tags": [
        "Issue Tracking",
        "Vendor Advisory"
      ],
      "url": "https://jira.mongodb.org/browse/MONGOSH-2026"
    }
  ],
  "sourceIdentifier": "cna@mongodb.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-150"
        }
      ],
      "source": "cna@mongodb.com",
      "type": "Secondary"
    }
  ]
}

CVE-2025-1756 (GCVE-0-2025-1756)

Vulnerability from cvelistv5 – Published: 2025-02-27 15:28 – Updated: 2025-02-27 16:06
VLAI?
Summary
mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0
CWE
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.0 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
Create a notification for this product.
Credits
T. Doğa Gelişli
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1756",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T16:02:07.276063Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T16:06:31.860Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "third-party-advisory"
            ],
            "url": "https://access.redhat.com/errata/RHSA-2025:1756"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.0",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eOnly environments with Windows as the underlying operating system is affected by this issue\u003c/p\u003e\u003cbr\u003e"
            }
          ],
          "value": "Only environments with Windows as the underlying operating system is affected by this issue"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "T. Do\u011fa Geli\u015fli"
        }
      ],
      "datePublic": "2025-02-27T13:15:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003emongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user\u0027s system with elevated privilege, when a crafted file is stored in C:\\node_modules\\. This issue affects mongosh prior to 2.3.0\u003c/p\u003e"
            }
          ],
          "value": "mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user\u0027s system with elevated privilege, when a crafted file is stored in C:\\node_modules\\. This issue affects mongosh prior to 2.3.0"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-426",
              "description": "CWE-426: Untrusted Search Path",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:28:11.633Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2028"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to local privilege escalation in Windows",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1756",
    "datePublished": "2025-02-27T15:28:11.633Z",
    "dateReserved": "2025-02-27T13:02:02.998Z",
    "dateUpdated": "2025-02-27T16:06:31.860Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1693 (GCVE-0-2025-1693)

Vulnerability from cvelistv5 – Published: 2025-02-27 12:39 – Updated: 2025-02-27 15:20
VLAI?
Summary
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker. This issue affects mongosh versions prior to 2.3.9
CWE
  • CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1693",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:25:17.958882Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:31:00.224Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/p\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "datePublic": "2025-02-27T12:37:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.\u003c/p\u003e\n\u003cp\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/p\u003e\n\u003cp\u003eThis issue affects mongosh versions prior to 2.3.9\u003c/p\u003e"
            }
          ],
          "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\n\n\nThis issue affects mongosh versions prior to 2.3.9"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 3.9,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-150",
              "description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:20:13.640Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2026"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to control character Injection via shell output",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1693",
    "datePublished": "2025-02-27T12:39:37.520Z",
    "dateReserved": "2025-02-25T13:47:30.902Z",
    "dateUpdated": "2025-02-27T15:20:13.640Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1692 (GCVE-0-2025-1692)

Vulnerability from cvelistv5 – Published: 2025-02-27 12:37 – Updated: 2025-02-27 15:19
VLAI?
Summary
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
CWE
  • CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1692",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:31:11.143757Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:31:37.957Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2025-02-27T12:35:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control of the user\u2019s 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\u003c/span\u003e\u003cbr\u003e"
            }
          ],
          "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user\u2019s 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"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-150",
              "description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:19:13.933Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2025"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to control character injection via pasting",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1692",
    "datePublished": "2025-02-27T12:37:00.376Z",
    "dateReserved": "2025-02-25T13:44:14.148Z",
    "dateUpdated": "2025-02-27T15:19:13.933Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1691 (GCVE-0-2025-1691)

Vulnerability from cvelistv5 – Published: 2025-02-27 12:34 – Updated: 2025-02-27 15:18
VLAI?
Summary
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.
CWE
  • CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1691",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:33:04.403717Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:33:54.782Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003cbr\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "datePublic": "2025-02-27T12:31:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe 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 \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e2.3.9.\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/span\u003e\u003c/p\u003e"
            }
          ],
          "value": "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 \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u00a02.3.9.\u00a0\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-74",
              "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:18:23.418Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2024"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to Control Character Injection via autocomplete",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1691",
    "datePublished": "2025-02-27T12:34:02.752Z",
    "dateReserved": "2025-02-25T13:35:22.403Z",
    "dateUpdated": "2025-02-27T15:18:23.418Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1756 (GCVE-0-2025-1756)

Vulnerability from nvd – Published: 2025-02-27 15:28 – Updated: 2025-02-27 16:06
VLAI?
Summary
mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0
CWE
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.0 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
Create a notification for this product.
Credits
T. Doğa Gelişli
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1756",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T16:02:07.276063Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T16:06:31.860Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "third-party-advisory"
            ],
            "url": "https://access.redhat.com/errata/RHSA-2025:1756"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.0",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eOnly environments with Windows as the underlying operating system is affected by this issue\u003c/p\u003e\u003cbr\u003e"
            }
          ],
          "value": "Only environments with Windows as the underlying operating system is affected by this issue"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "T. Do\u011fa Geli\u015fli"
        }
      ],
      "datePublic": "2025-02-27T13:15:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003emongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user\u0027s system with elevated privilege, when a crafted file is stored in C:\\node_modules\\. This issue affects mongosh prior to 2.3.0\u003c/p\u003e"
            }
          ],
          "value": "mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user\u0027s system with elevated privilege, when a crafted file is stored in C:\\node_modules\\. This issue affects mongosh prior to 2.3.0"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-426",
              "description": "CWE-426: Untrusted Search Path",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:28:11.633Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2028"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to local privilege escalation in Windows",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1756",
    "datePublished": "2025-02-27T15:28:11.633Z",
    "dateReserved": "2025-02-27T13:02:02.998Z",
    "dateUpdated": "2025-02-27T16:06:31.860Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1693 (GCVE-0-2025-1693)

Vulnerability from nvd – Published: 2025-02-27 12:39 – Updated: 2025-02-27 15:20
VLAI?
Summary
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker. This issue affects mongosh versions prior to 2.3.9
CWE
  • CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1693",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:25:17.958882Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:31:00.224Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/p\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "datePublic": "2025-02-27T12:37:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.\u003c/p\u003e\n\u003cp\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/p\u003e\n\u003cp\u003eThis issue affects mongosh versions prior to 2.3.9\u003c/p\u003e"
            }
          ],
          "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\n\n\nThis issue affects mongosh versions prior to 2.3.9"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 3.9,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-150",
              "description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:20:13.640Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2026"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to control character Injection via shell output",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1693",
    "datePublished": "2025-02-27T12:39:37.520Z",
    "dateReserved": "2025-02-25T13:47:30.902Z",
    "dateUpdated": "2025-02-27T15:20:13.640Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1692 (GCVE-0-2025-1692)

Vulnerability from nvd – Published: 2025-02-27 12:37 – Updated: 2025-02-27 15:19
VLAI?
Summary
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
CWE
  • CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1692",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:31:11.143757Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:31:37.957Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2025-02-27T12:35:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control of the user\u2019s 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\u003c/span\u003e\u003cbr\u003e"
            }
          ],
          "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user\u2019s 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"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-150",
              "description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:19:13.933Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2025"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to control character injection via pasting",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1692",
    "datePublished": "2025-02-27T12:37:00.376Z",
    "dateReserved": "2025-02-25T13:44:14.148Z",
    "dateUpdated": "2025-02-27T15:19:13.933Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2025-1691 (GCVE-0-2025-1691)

Vulnerability from nvd – Published: 2025-02-27 12:34 – Updated: 2025-02-27 15:18
VLAI?
Summary
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.
CWE
  • CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Assigner
Impacted products
Vendor Product Version
MongoDB Inc mongosh Affected: 0 , < 2.3.9 (custom)
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1691",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:33:04.403717Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:33:54.782Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003cbr\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "datePublic": "2025-02-27T12:31:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe 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 \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e2.3.9.\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/span\u003e\u003c/p\u003e"
            }
          ],
          "value": "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 \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u00a02.3.9.\u00a0\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-74",
              "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:18:23.418Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2024"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to Control Character Injection via autocomplete",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1691",
    "datePublished": "2025-02-27T12:34:02.752Z",
    "dateReserved": "2025-02-25T13:35:22.403Z",
    "dateUpdated": "2025-02-27T15:18:23.418Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}