{"id":"GHSA-f5w3-73h4-jpcm","summary":"mongosh vulnerable to local privilege escalation","details":"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.","aliases":["CVE-2025-1756"],"modified":"2025-02-27T21:27:16.938914Z","published":"2025-02-27T18:31:13Z","database_specific":{"github_reviewed_at":"2025-02-27T20:59:00Z","nvd_published_at":"2025-02-27T16:15:39Z","cwe_ids":["CWE-426"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1756"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1756"},{"type":"PACKAGE","url":"https://github.com/mongodb-js/mongosh"},{"type":"WEB","url":"https://jira.mongodb.org/browse/MONGOSH-2028"}],"affected":[{"package":{"name":"mongosh","ecosystem":"npm","purl":"pkg:npm/mongosh"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-f5w3-73h4-jpcm/GHSA-f5w3-73h4-jpcm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}