Vulnerabilities

CVE-2025-1756

High 7.8 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2025-02-27
Last modified
2026-06-17
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 4 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
mongosh (npm) < 2.3.0 Affected
Mongodb Mongosh < 2.3.0 Affected
Redhat Codeready Linux Builder Eus 9.4 Affected
Redhat Codeready Linux Builder For Arm64 Eus 9.4_aarch64 Affected
Redhat Codeready Linux Builder For Ibm Z Systems Eus 9.4_s390x Affected
Redhat Codeready Linux Builder For Power Little Endian Eus 9.4_ppc64le Affected
Redhat Enterprise Linux Eus 9.4 Affected
Redhat Enterprise Linux For Arm 64 9.4_aarch64 Affected
Redhat Enterprise Linux For Arm 64 Eus 9.4_aarch64 Affected
Redhat Enterprise Linux For Ibm Z Systems 9.4_s390x Affected
Redhat Enterprise Linux For Ibm Z Systems Eus 9.4_s390x Affected
Redhat Enterprise Linux For Power Little Endian Eus 9.4_ppc64le Affected
Redhat Enterprise Linux Server Aus 9.4 Affected
Redhat Enterprise Linux Update Services For Sap Solutions 9.4 Affected

Weakness type

  • CWE-426: Untrusted Search Path

    The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.009: Path Interception by Unquoted Path stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities