Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-2028

MongoDB Shell may be susceptible to local privilege escalation in Windows

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools

      CVE ID:

      CVE-2025-1756

      Title:
      MongoDB Shell may be susceptible to local privilege escalation in Windows

      Description:
      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

      CVSS Score:

      7.5 - https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H 

      List all affected product versions:
      mongosh prior to 2.3.0

      CWE:

      CWE-426: Untrusted Search Path 

      Required Configuration:

      Only environments with Windows as the underlying operating system is affected by this issue

      Credit:

      T. Doğa Gelişli

            Assignee:
            karman.liu@mongodb.com Karman Liu
            Reporter:
            karman.liu@mongodb.com Karman Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: