{"id":"CVE-2024-39613","aliases":["EUVD-2024-2889","GHSA-wj4j-qc2m-fgh7"],"status":"published","title":"RCE in desktop app in Windows by local attacker","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file,  which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00299,"percentile":0.22787,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-427"],"published":"2024-09-16T06:40:58Z","modified":"2026-10-28T02:30:35Z","fixes":[{"ecosystem":"npm","package":"mattermost-desktop","fixed_in":["5.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mattermost-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"mattermost-desktop","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.9.0"}]}]}],"products":[{"vendor":"mattermost","product":"mattermost"},{"vendor":"mattermost","product":"mattermost_desktop"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39613","tags":["advisory"]},{"url":"https://docs.mattermost.com/about/desktop-app-changelog.html","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wj4j-qc2m-fgh7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39613.json","tags":["advisory"]},{"url":"https://github.com/mattermost/desktop","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-39613","title":"RCE in desktop app in Windows by local attacker","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file,  which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T06:40:58.501Z","modified":"2024-09-16T13:05:12.477Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:34:18.951288Z"}],"euvd":[{"id":"EUVD-2024-2889","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file,  which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T06:40:58Z","modified":"2024-09-16T13:05:12Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T00:55:55.02611Z"}],"ghsa":[{"id":"GHSA-wj4j-qc2m-fgh7","title":"Mattermost Desktop App Uncontrolled Search Path Vulnerability","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file, which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T14:37:28Z","modified":"2024-09-16T20:14:54Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:38:02.773864Z"}],"nvd":[{"id":"CVE-2024-39613","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file,  which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T07:15:02.373Z","modified":"2026-06-17T07:42:20.05Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:10:26.717759Z"}],"osv":[{"id":"CVE-2024-39613","title":"RCE in desktop app in Windows by local attacker","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file,  which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T06:40:58.501Z","modified":"2026-10-28T02:30:35.516757384Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"GHSA-wj4j-qc2m-fgh7","title":"Mattermost Desktop App Uncontrolled Search Path Vulnerability","description":"Mattermost Desktop App versions \u003c=5.8.0 fail to specify an absolute path when searching the cmd.exe file, which allows a local attacker who is able to put an cmd.exe file in the Downloads folder of a user's machine to cause remote code execution on that machine.","status":"published","published":"2024-09-16T14:37:28Z","modified":"2024-09-16T20:29:23.360294Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
