Skip to main content

Mattermost Desktop App CVE-2026-3471

| EUVDEUVD-2026-30757 MEDIUM
Improper Authorization in Handler for Custom URL Scheme (CWE-939)
2026-05-18 Mattermost GHSA-fhqj-97rr-gvhp
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Social engineer user to connect to malicious server
  2. Delivery
    Inject window.open() with javascript: URL
  3. Exploit
    Desktop app attempts to render pop-up
  4. Execution
    Improper URL validation allows JavaScript execution
  5. Persist
    Application crashes
  6. Impact
    Repeat automated crash cycle

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V4 - API and Web Service Improper authorization in handler
Exploitation Conditions

Requires victim to connect Mattermost Desktop App to an attacker-controlled or compromised Mattermost server. The attacker must have server administrator privileges or ability to inject JavaScript execution commands through the server's messaging or plugin system. Users must be running vulnerable desktop application versions (6.1 or earlier) and actively connected to the malicious server when the window.open() call is triggered. Exploitation does not require any special desktop application configuration beyond default settings - the vulnerability exists in standard installations. The user interaction requirement (UI:R in CVSS) is connecting to and maintaining a session with the malicious server, not clicking a specific link or prompt.

Impact

Real-world risk is moderate and contextual. CVSS 6.5 (AV:N/AC:L/PR:N/UI:R) indicates network-reachable attack with low complexity but required user interaction. The EPSS data is not provided, limiting quantitative exploitation probability assessment. Not listed in CISA KEV, indicating no confirmed widespread active exploitation. The attack requires users to connect their desktop client to a malicious or compromised Mattermost server, significantly limiting the attack surface compared to truly unauthenticated remote exploits. Impact is strictly availability (A:H) with no confidentiality or integrity compromise, reducing business risk compared to data-exfiltration vulnerabilities. The trivial nature of the exploit code (single JavaScript function call) means any server administrator can weaponize this, but the prerequisite of controlling a server that targets trust creates natural friction. Organizations using self-hosted Mattermost with trusted administrators face minimal risk; those connecting to external or multi-tenant servers should prioritize patching. The repeated crash capability could enable denial-of-service against specific users or teams, disrupting business communications.

Exploit ScenarioDerived

An attacker compromises a Mattermost server or operates a malicious server, then social engineers targets to connect their desktop clients to it. Once connected, the attacker injects JavaScript calling window.open('javascript:alert()') through server-side channels, immediately crashing the victim's desktop application. The attacker can automate repeated crash triggers, rendering the application unusable and forcing victims to reinstall or reconfigure, disrupting team communications and productivity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 repeatedly crashed by malicious server administrators through JavaScript URL injection in pop-up windows. Attackers controlling a Mattermost server can force connected desktop clients to become unusable by exploiting improper URL validation, requiring user interaction (connecting to the malicious server). No public exploit code identified at time of analysis, though the attack method is trivial to implement given the disclosed details.

RemediationAI

Upgrade Mattermost Desktop App to version 6.2 or later, which implements proper URL protocol validation for pop-up windows (specific patched version inferred from vulnerable version ceiling of 6.1; verify exact release number at https://mattermost.com/security-updates). Until patching is complete, implement compensating controls: restrict desktop client connections to only trusted, organizationally-controlled Mattermost servers through endpoint configuration policies or network firewall rules blocking external Mattermost server connections (trade-off: eliminates remote collaboration capabilities with external partners). Organizations can also enforce browser-based client usage instead of desktop app for connections to untrusted servers (trade-off: reduced offline functionality and desktop integration features). For high-security environments, disable JavaScript execution in desktop client if application settings permit, though this may break legitimate server functionality and is not a recommended long-term solution.

Affected VersionsENISA

Mattermost 0 ≤6.0.1
Mattermost 0 ≤5.4.13

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 vulnerability stems from CWE-939 (Improper Authorization in Handler for Custom URL Scheme), where the desktop application fails to validate URLs passed to window.open() calls. The Electron-based Mattermost Desktop App allows JavaScript execution within pop-up window contexts without proper sanitization of javascript: protocol URIs. When a server sends instructions to open a window with a javascript: URL, the application executes the code rather than blocking the dangerous protocol. This affects the desktop client's BrowserWindow configuration and URL handling logic, specifically the lack of proper protocol allowlisting for new window creation. The affected CPE indicates the core Mattermost application framework, though this vulnerability is specific to the desktop client implementation across Windows, macOS, and Linux platforms.

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 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

Mattermost Desktop App versions <=6.1 6.0.1 5.4.13.0 fail to prevent an invalid URL from loading in a pop-up window in the Mattermost Desktop App which allows a malicious server owner to repeated crash the application via calling {{window.open('javascript:alert()');}}. Mattermost Advisory ID: MMSA-2026-00618

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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