CVE-2024-39613: Mattermost Desktop App Uncontrolled Search Path Vulnerability
Mattermost Desktop App versions <=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.
Published Sep 16, 2024
Affected packages
mattermost-desktop
- Ecosystem
- npm
- Affected
- < 5.9.0
- Fixed in
- 5.9.0
- Check
npm ls mattermost-desktop
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Mattermost Desktop App versions <=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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2025-13321
Mattermost Desktop App exposes sensitive information in its application logs
low3.3No fixDec 17, 2025CVE-2025-1398
Mattermost Desktop App allows the bypass of Transparency, Consent, and Control (TCC) via code injection
low3.3Mar 17, 2025CVE-2024-39772
Mattermost Desktop App fails to safeguard screen capture functionality
medium3.7Sep 16, 2024CVE-2024-45835
Mattermost Desktop App fails to sufficiently configure Electron Fuses
low2.5Sep 16, 2024CVE-2024-36287
Mattermost Desktop App allows for bypassing TCC restrictions on macOS
low3.8Jun 14, 2024CVE-2024-37182
Mattermost Desktop App Remote Code Execution
medium4.7Jun 14, 2024
