Skip to main content

Mattermost Desktop App CVE-2026-4643

| EUVDEUVD-2026-30758 LOW
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-05-18 Mattermost GHSA-mf43-g8vp-9q4m
3.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Mattermost server
  2. Delivery
    Deploy malicious plugin or inject script
  3. Exploit
    Victim views attacker content in desktop app
  4. Execution
    window.close() executes in renderer
  5. Impact
    Desktop application crashes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Attacker must have authenticated access to a Mattermost server as a low-privilege user (PR:L) and ability to inject or control server-rendered content that reaches the victim's desktop client. Specific prerequisites include: (1) victim using Mattermost Desktop App version 6.1 or earlier, (2) attacker ability to deliver malicious JavaScript to client renderer via compromised server, malicious plugin installation, or manipulation of message/webhook content, (3) victim user interaction (UI:R) such as viewing a channel, opening a direct message, or triggering a slash command containing the payload. Exploitation is limited by requirement for victim to navigate to attacker-controlled content within their desktop client. Does NOT work against web browser clients due to different sandbox constraints. Default Mattermost Desktop App installations without additional hardening are vulnerable.

Impact

Real-world risk is low to moderate depending on deployment context. CVSS 3.5 (Low) correctly reflects limited impact: AV:N indicates network-based attack vector, but PR:L requires authenticated low-privilege access and UI:R requires user interaction (victim must navigate to attacker-controlled content). Scope is Unchanged (S:U) with only Availability impact (A:L). This is NOT a critical vulnerability - it cannot compromise data confidentiality, system integrity, or enable lateral movement. Primary risk scenarios are insider threats (malicious server admins), supply chain attacks (compromised third-party plugins), or targeted social engineering where attacker tricks users into connecting to malicious Mattermost servers. EPSS data unavailable but exploitation probability assessed as low due to authentication requirement and limited attacker motivation (outcome is client crash, not data theft). No CISA KEV listing indicates no confirmed widespread exploitation. Priority for remediation should be moderate for organizations using community plugins or allowing users to connect to external Mattermost instances, lower for strictly controlled internal deployments.

Exploit ScenarioDerived

An attacker with authenticated low-privilege access to a Mattermost server (standard user account) deploys a malicious plugin or modifies server responses to inject JavaScript containing window.close() into rendered content such as channel messages, custom slash command responses, or webhook payloads. When a victim user views this content in their Mattermost Desktop App, the injected script executes in the renderer context and immediately terminates the application. The user experiences an unexpected crash and must manually restart the desktop client. Repeated exploitation creates persistent denial of service, disrupting team communications. Public exploit code availability unknown at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Mattermost Desktop App can be crashed remotely by malicious server administrators or plugin developers exploiting insufficient isolation of server-rendered content. Authenticated attackers with low-privilege server access who can control rendered content (via compromised server, malicious plugin, or modified server responses) can invoke window.close() to terminate the desktop client, causing a client-side denial of service. EPSS data not available; no public exploit code identified at time of analysis. CVSS 3.5 (Low severity) reflects limited impact scope - disruption to individual user sessions rather than system-wide compromise.

RemediationAI

Upgrade Mattermost Desktop App to the patched version specified in MMSA-2026-00633 advisory at https://mattermost.com/security-updates (exact fixed version not provided in available data - consult vendor advisory for release number). Organizations unable to immediately patch can implement compensating controls: restrict desktop client connections to trusted Mattermost servers only via endpoint management policies or network access controls, disable or audit third-party plugins on Mattermost servers (as plugins can inject arbitrary client-side code), and educate users not to connect desktop clients to untrusted or community-hosted Mattermost instances. Note that blocking JavaScript entirely would break core Mattermost functionality. For high-security environments, consider mandating web client usage until desktop app is patched, though this reduces offline functionality and user experience.

Affected VersionsENISA

Mattermost 0 ≤5.4.13
Mattermost 0 ≤6.0.1

Affected Packages

euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Mattermost Desktop App uses Electron or similar framework to render server content within desktop application views. The vulnerability stems from improper context isolation (CWE-754: Improper Check for Unusual or Exceptional Conditions) where server-controlled HTML/JavaScript can access window management APIs in the renderer process. Affected CPE is cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* covering versions through 6.1, 6.0.1, and 5.4.13.0. In secure Electron applications, renderer processes should be sandboxed with contextIsolation enabled and nodeIntegration disabled to prevent server content from invoking privileged APIs like window.close(). This architectural flaw allows untrusted server-rendered content to break the application boundary and control the desktop client lifecycle.

Know when Mattermost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 3.5 LOW
AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

Mattermost Desktop App versions <=6.1 6.0.1 5.4.13.0 fail to prevent server-rendered content from closing an underlying application view in the Mattermost Desktop App which allows a malicious server or plugin to crash the desktop client via invoking {{window.close()}} in the renderer context, leading to a denial of service condition at the client level. Mattermost Advisory ID: MMSA-2026-00633

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-25279 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp

CVE-2025-12421 CRITICAL
9.9 Nov 27

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t

CVE-2025-12419 CRITICAL
9.9 Nov 27

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2025-24490 CRITICAL
9.6 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy