# CVE-2024-39613: RCE in desktop app in Windows by local attacker

- Severity: Medium 5.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2024-09-16T06:40:58.501Z
- Modified: 2026-06-17T07:42:20.050Z
- Also known as: GHSA-wj4j-qc2m-fgh7
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: up to 5.8.0 (not affected: 5.9.0)
- mattermost-desktop (npm): before 5.9.0
- mattermost mattermost_desktop: before 5.9.0

## Every score

- Mattermost: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39613> (advisory)
- <https://docs.mattermost.com/about/desktop-app-changelog.html> (web)
- <https://github.com/mattermost/desktop> (package)

## Sources

- CVE List: [CVE-2024-39613](https://www.cve.org/CVERecord?id=CVE-2024-39613), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-wj4j-qc2m-fgh7](https://github.com/advisories/GHSA-wj4j-qc2m-fgh7), CC-BY-4.0, modified 2024-09-16
- NVD: [CVE-2024-39613](https://nvd.nist.gov/vuln/detail/CVE-2024-39613), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39613 · Whole record: https://cve.day/CVE-2024-39613.json · Rebuilt by cve.day 2026-11-25T22:58:45.447Z
