{"id":"CVE-2025-1756","aliases":["EUVD-2025-5459","GHSA-f5w3-73h4-jpcm"],"status":"published","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","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00161,"percentile":0.05318,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-426"],"published":"2025-02-27T15:28:11Z","modified":"2026-10-28T02:30:56Z","fixes":[{"ecosystem":"npm","package":"mongosh","fixed_in":["2.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mongosh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0"}]}]},{"source":"osv","ecosystem":"npm","package":"mongosh","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.0"}]}]}],"products":[{"vendor":"mongodb","product":"mongosh"},{"vendor":"mongodb inc","product":"mongosh"},{"vendor":"redhat","product":"codeready_linux_builder_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_arm64_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_ibm_z_systems_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_power_little_endian_eus"},{"vendor":"redhat","product":"enterprise_linux_eus"},{"vendor":"redhat","product":"enterprise_linux_for_arm_64"},{"vendor":"redhat","product":"enterprise_linux_for_arm_64_eus"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_eus"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_eus"},{"vendor":"redhat","product":"enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_update_services_for_sap_solutions"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOSH-2028","tags":["Issue Tracking","Vendor Advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2025:1756","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1756","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f5w3-73h4-jpcm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1756.json","tags":["advisory"]},{"url":"https://github.com/mongodb-js/mongosh","tags":["package"]}],"sources":{"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","status":"published","published":"2025-02-27T15:28:11.633Z","modified":"2025-02-27T16:06:31.86Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:32:49.824855Z"}],"euvd":[{"id":"EUVD-2025-5459","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","status":"published","published":"2025-02-27T15:28:11Z","modified":"2025-02-27T16:06:31Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:53:21.911964Z"}],"ghsa":[{"id":"GHSA-f5w3-73h4-jpcm","title":"mongosh vulnerable to 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.","status":"published","published":"2025-02-27T18:31:13Z","modified":"2025-02-27T20:59:01Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:38:33.163519Z"}],"nvd":[{"id":"CVE-2025-1756","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","status":"published","published":"2025-02-27T16:15:39.287Z","modified":"2026-06-17T08:39:43.417Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:10:52.398004Z"}],"osv":[{"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","status":"published","published":"2025-02-27T15:28:11.633Z","modified":"2026-10-28T02:30:56.164718853Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:44:46.340268Z"},{"id":"GHSA-f5w3-73h4-jpcm","title":"mongosh vulnerable to 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.","status":"published","published":"2025-02-27T18:31:13Z","modified":"2025-02-27T21:27:16.938914Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:46:46.006631Z"}]}}
