GitHub Advisory Database
GHSA-wj4j-qc2m-fgh7
Mattermost Desktop App Uncontrolled Search Path Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | mattermost-desktop | All versions before 5.9.0 (fixed in 5.9.0) |