7.8
HIGH
CVE-2025-1756
MongoDB mongosh Local Privilege Escalation
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

INFO

Published Date :

Feb. 27, 2025, 4:15 p.m.

Last Modified :

April 9, 2025, 2:07 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2025-1756 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_server_aus
2 Redhat enterprise_linux_eus
3 Redhat enterprise_linux_for_ibm_z_systems_eus
4 Redhat enterprise_linux_for_power_little_endian_eus
5 Redhat enterprise_linux_for_ibm_z_systems
6 Redhat codeready_linux_builder_eus
7 Redhat codeready_linux_builder_for_arm64_eus
8 Redhat codeready_linux_builder_for_ibm_z_systems_eus
9 Redhat enterprise_linux_for_arm_64
10 Redhat enterprise_linux_for_arm_64_eus
11 Redhat codeready_linux_builder_for_power_little_endian_eus
12 Redhat enterprise_linux_update_services_for_sap_solutions
1 Mongodb mongosh
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-1756.

URL Resource
https://jira.mongodb.org/browse/MONGOSH-2028 Vendor Advisory Issue Tracking
https://access.redhat.com/errata/RHSA-2025:1756 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-1756 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-1756 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 09, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-426
    Added CPE Configuration OR *cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:* versions up to (excluding) 2.3.0
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.4_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.4_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.4_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:9.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:enterprise_linux_update_services_for_sap_solutions:9.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_eus:9.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:9.4_aarch64:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:*
    Added Reference Type CISA-ADP: https://access.redhat.com/errata/RHSA-2025:1756 Types: Third Party Advisory
    Added Reference Type MongoDB, Inc.: https://jira.mongodb.org/browse/MONGOSH-2028 Types: Issue Tracking, Vendor Advisory
  • New CVE Received by [email protected]

    Feb. 27, 2025

    Action Type Old Value New Value
    Added 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
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
    Added CWE CWE-426
    Added Reference https://jira.mongodb.org/browse/MONGOSH-2028
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 27, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:1756
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-1756 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-1756 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability