{"schemaVersion":3,"id":"CVE-2025-1756","aliases":["GHSA-f5w3-73h4-jpcm"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2025-02-27T15:28:11.633Z","modified":"2025-02-27T16:06:31.860Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":2.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00161,"percentile":0.0485,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.003000000000000008,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00158},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00161,"percentile":0.0485}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00161,"percentile":0.0485}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"mongodb inc","product":"mongosh","name":"mongosh","label":"mongosh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0","eol":null,"hubHref":"/vendor/mongodb_inc/mongosh"},{"vendor":"mongodb","product":"mongosh","name":"mongosh","label":"mongosh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0","eol":null,"hubHref":"/vendor/mongodb/mongosh"},{"vendor":"Npm","product":"mongosh","name":"mongosh","label":"mongosh","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/mongosh","purlType":"npm","versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0","eol":null,"hubHref":null},{"vendor":"redhat","product":"codeready_linux_builder_eus","name":"codeready linux builder eus","label":"codeready_linux_builder_eus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_arm64_eus","name":"codeready linux builder for arm64 eus","label":"codeready_linux_builder_for_arm64_eus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.4_aarch64","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_aarch64","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_arm64_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_ibm_z_systems_eus","name":"codeready linux builder for ibm z systems eus","label":"codeready_linux_builder_for_ibm_z_systems_eus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.4_s390x","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_s390x","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_ibm_z_systems_eus"},{"vendor":"redhat","product":"codeready_linux_builder_for_power_little_endian_eus","name":"codeready linux builder for power little endian eus","label":"codeready_linux_builder_for_power_little_endian_eus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.4_ppc64le","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_ppc64le","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_power_little_endian_eus"},{"vendor":"redhat","product":"enterprise_linux_eus","name":"enterprise linux eus","label":"enterprise_linux_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_eus"},{"vendor":"redhat","product":"enterprise_linux_for_arm_64","name":"enterprise linux for arm 64","label":"enterprise_linux_for_arm_64","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4_aarch64","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_aarch64","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_arm_64"},{"vendor":"redhat","product":"enterprise_linux_for_arm_64_eus","name":"enterprise linux for arm 64 eus","label":"enterprise_linux_for_arm_64_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4_aarch64","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_aarch64","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_arm_64_eus"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","name":"enterprise linux for ibm z systems","label":"enterprise_linux_for_ibm_z_systems","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4_s390x","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_s390x","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_eus","name":"enterprise linux for ibm z systems eus","label":"enterprise_linux_for_ibm_z_systems_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4_s390x","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_s390x","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems_eus"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_eus","name":"enterprise linux for power little endian eus","label":"enterprise_linux_for_power_little_endian_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4_ppc64le","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4_ppc64le","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_power_little_endian_eus"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_update_services_for_sap_solutions","name":"enterprise linux update services for sap solutions","label":"enterprise_linux_update_services_for_sap_solutions","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_update_services_for_sap_solutions"}],"affectedCount":15,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/MONGOSH-2028","label":"jira.mongodb.org/browse/MONGOSH-2028","hostname":"jira.mongodb.org","tags":["WEB","Issue Tracking","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:1756","label":"access.redhat.com/errata/RHSA-2025:1756","hostname":"access.redhat.com","tags":["Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1756","label":"nvd.nist.gov/vuln/detail/CVE-2025-1756","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mongodb-js/mongosh","label":"github.com/mongodb-js/mongosh","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-02-27T15:28:11.633Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-27T16:06:31.860Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:15:57.218Z","stale":false,"partial":false}}