CVE-2025-1398: Mattermost desktop Mattermost Desktop App Allows The Vulnerability
LOWCVE-2025-1398 is a LOW (CVSS 3.3) mattermost desktop app allows the vulnerability (CWE-426: Untrusted Search Path) affecting Mattermost desktop libraries in the npm ecosystem. The issue involves mattermost desktop app allows the bypass of transparency, consent, and control (tcc) via code injection. Remediation is available by upgrading affected packages to version 5.11.0.
CVE-2025-1398 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-1398
To remediate this vulnerability, upgrade all affected Mattermost desktop dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mattermost-desktop@5.11.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mattermost-desktop
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-1398, inspect your project dependencies using npm:
npm ls mattermost-desktop
Analyze the terminal output to locate any version of Mattermost desktop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.11.0), your application is affected.
Note: The npm ls mattermost-desktop command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-426: Untrusted Search Path, where the product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. In Mattermost desktop, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-1398 Affected Mattermost desktop Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mattermost-desktop
|
npm |
< 5.11.0
|
5.11.0
|
References
Frequently Asked Questions
What is CVE-2025-1398?
Which Mattermost desktop versions are affected?
What version fixes CVE-2025-1398?
Is mattermost-desktop affected?
What is the CVSS score of CVE-2025-1398?
What CWE is associated with CVE-2025-1398?
How can I check npm dependencies for CVE-2025-1398?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xmvv-w44w-j8wx",
"modified" : "2025-03-17T21:27:32Z",
"published" : "2025-03-17T15:31:50Z",
"aliases" : [ "CVE-2025-1398" ],
"summary" : "Mattermost Desktop App allows the bypass of Transparency, Consent, and Control (TCC) via code injection",
"details" : "Mattermost Desktop App versions <=5.10.0 explicitly declared unnecessary macOS entitlements which allows an attacker with remote access to bypass Transparency, Consent, and Control (TCC) via code injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mattermost-desktop"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.11.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1398"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mattermost/desktop"
}, {
"type" : "WEB",
"url" : "https://mattermost.com/security-updates"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-426" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-17T21:27:32Z",
"nvd_published_at" : "2025-03-17T15:15:43Z"
}
}