npm package report

Is mongosh safe?

mongosh (npm) has 4 known vulnerabilities, the worst rated HIGH. Upgrade to 2.3.9 or later to clear all of them. No malicious-package signal is recorded.

// reach

1 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


      cvss
      7.6
      high

      CVSS v3.1 base score out of 10

      epss
      0.36%
      low

      chance of exploitation in 30 days, 30th percentile of all CVEs

      xyz score
      4.2
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-43g5-2wr2-q7vj, the advisory selected below

      // 4 advisories

      The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the…

      Full advisory text at GitHub advisory or NVD.

      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

      Attack vector
      Network
      Attack complexity
      High
      Privileges required
      High
      User interaction
      Required
      Scope
      Changed
      Confidentiality
      High
      Integrity
      High
      Availability
      High
      // questions
      Is mongosh safe to install?

      CyberXYZ does not call a package safe in absolute terms. It records 4 known vulnerabilities for mongosh (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

      Does mongosh have known vulnerabilities?

      Yes. CyberXYZ records 4 known vulnerabilities for mongosh (npm), the worst rated HIGH. They are GHSA-43g5-2wr2-q7vj, GHSA-f5w3-73h4-jpcm, GHSA-973h-3x6p-qg37, GHSA-r95j-4jvf-mrrw.

      Which version of mongosh should I use?

      2.3.9 or later clears every advisory recorded for mongosh (npm). Check the release you pick before installing it.

      How do I check mongosh before installing?

      Search mongosh in CyberXYZ Check at https://cyberxyz.io/check?q=mongosh. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


      Checked 2026-11-14 at 06:54 UTC. The most recent advisory here was published 2025-02-27. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.