Skip to content
Heist/ feed
Back to feed
Medium

RCE in desktop app in Windows by local attacker

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-39613
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:19 UTC · Revision 1

Source evidence

RCE in desktop app in Windows by local attacker

core-osv · Original source

Published 16 Sept 2024, 06:40 UTC

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.

osv:CVE-2024-39613
Complete source record
{
  "id": "1e3cfce13a7604349ec4d2ca39e674755764b72c62d488807674ed6c4347145c",
  "url": "https://osv.dev/vulnerability/CVE-2024-39613",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RCE in desktop app in Windows by local attacker",
    "summary": "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.",
    "evidence": "osv:CVE-2024-39613",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-39613",
      "aliases": [
        "CVE-2024-39613",
        "GHSA-wj4j-qc2m-fgh7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/desktop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "97c7331c6f7944ddea960ad40270696c40eee2b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_desktop:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.9.0-rc.2",
            "v5.9.0-rc.1",
            "v4.7.0-beta2",
            "beta2",
            "4.7.0-beta",
            "v1.3.0-rc2",
            "v1.3.0",
            "v1.3.0-rc1",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39613.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.516757384Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39613.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-39613"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-427"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "5.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39613.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-39613",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502970,
  "published_at": "2024-09-16T06:40:58.501+00:00"
}