Security mailing lists by PureSourceCode

CVE-2025-1756

HIGH 7.8CVSS 3.1

mongosh vulnerable to local privilege escalation

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

Published
27 Feb 2025
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-426
Also known as
GHSA-f5w3-73h4-jpcm
Sources
NVDJSONOSV GHSA-f5w3-73h4-jpcmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD cna@mongodb.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb mongosh
cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*
< 2.3.0 2.3.0
NVD redhat codeready_linux_builder_eus
cpe:2.3:a:redhat:codeready_linux_builder_eus:9.4:*:*:*:*:*:*:*
= 9.4
NVD redhat codeready_linux_builder_for_arm64_eus
cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:9.4_aarch64:*:*:*:*:*:*:*
= 9.4_aarch64
NVD redhat codeready_linux_builder_for_ibm_z_systems_eus
cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:*
= 9.4_s390x
NVD redhat codeready_linux_builder_for_power_little_endian_eus
cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:*
= 9.4_ppc64le
NVD redhat enterprise_linux_update_services_for_sap_solutions
cpe:2.3:a:redhat:enterprise_linux_update_services_for_sap_solutions:9.4:*:*:*:*:*:*:*
= 9.4
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:*
= 9.4
NVD redhat enterprise_linux_for_arm_64
cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.4_aarch64:*:*:*:*:*:*:*
= 9.4_aarch64
NVD redhat enterprise_linux_for_arm_64_eus
cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.4_aarch64:*:*:*:*:*:*:*
= 9.4_aarch64
NVD redhat enterprise_linux_for_ibm_z_systems
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.4_s390x:*:*:*:*:*:*:*
= 9.4_s390x
NVD redhat enterprise_linux_for_ibm_z_systems_eus
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:*
= 9.4_s390x
NVD redhat enterprise_linux_for_power_little_endian_eus
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:*
= 9.4_ppc64le
NVD redhat enterprise_linux_server_aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:9.4:*:*:*:*:*:*:*
= 9.4
OSV npm mongosh < 2.3.0 2.3.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Feb 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Feb 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.