CVE-2025-1398: Mattermost Desktop App TCC bypass via code injection

CVE-2025-1398 · Severity: low · CVSS 3.1 · Published 2025-03-17

Mattermost Desktop App is a communication and collaboration platform client for Windows, Mac, and Linux. Versions up to 5.10.0 contain improperly configured system permissions on macOS that allow an attacker with remote code execution to bypass macOS security controls (Transparency, Consent, and Control), potentially accessing sensitive system resources without user authorization.

Technologies: Mattermost Desktop App. Vendors: Mattermost.

Quick answers

Is CVE-2025-1398 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-1398 being exploited in the wild.
How severe is CVE-2025-1398?
Low severity, with a CVSS score of 3.1, published 17 March 2025.
Which products and versions are affected?
Mattermost Desktop App ≤5.10.0.
Is there a fix for CVE-2025-1398?
A patch was published on 2025-03-17: Fixed in version 5.11.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-1398 attacked?
It is attacked with local access.
Am I affected by CVE-2025-1398?
Check whether you run Mattermost Desktop App at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a privilege escalation / security bypass (CWE-426) stemming from the Desktop App explicitly declaring unnecessary macOS entitlements. An attacker with remote code execution capability can inject code into the application, which then executes with the elevated privileges granted by these overly-broad entitlements, thereby circumventing macOS TCC protections. The attack requires prior code execution within the app but allows bypass of system-level access controls. The vulnerability affects Mattermost Desktop App versions ≤5.10.0 and is fixed in version 5.11.0.

Affected products

  • Mattermost Desktop App ≤5.10.0

Identifiers

  • CVE-2025-1398
  • GHSA-xmvv-w44w-j8wx

Timeline

  • 2025-03-17: disclosed
  • 2025-03-17: patched: Fixed in version 5.11.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.