Skip to main content

Mattermost CVE-2026-6961

| EUVDEUVD-2026-36504 HIGH
Path Traversal (CWE-22)
2026-06-12 Mattermost GHSA-8qq9-cqj8-82w4
7.6
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

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

  1. Access
    Control federated peer server
  2. Delivery
    Establish shared channel sync with victim
  3. Exploit
    Send FileInfo with traversal in Name
  4. Execution
    Victim writes file outside filestore
  5. Persist
    Overwrite binary or config
  6. Impact
    Achieve code execution or tampering

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target Mattermost server must have the shared channels feature enabled and be federated with at least one peer Mattermost server controlled by the attacker; exploitation occurs over the normal shared-channel file sync protocol with no user interaction on the victim side. The PR:H requirement reflects that the attacker must already hold administrative control of a trusted peer server (not merely an end-user account on the victim), which limits exploitation to scenarios involving compromised or malicious federation partners. Deployments without shared channels configured, or that only federate with fully trusted internal servers, are not exposed.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L yields 7.6 (High), reflecting that exploitation is network-reachable and low-complexity but requires high privileges - specifically, control over a peer server already federated with the victim. The scope change (S:C) and high integrity impact correctly capture that filesystem writes can affect components outside the file-storage trust boundary. EPSS data was not provided and the CVE is not in CISA KEV, so there is no public-exploit identified at time of analysis; realistic risk is concentrated in organizations that have enabled shared channels with external/untrusted Mattermost instances. For deployments without shared channels enabled, real-world risk is substantially lower than the 7.6 score suggests; for those with federation to less-trusted partners, this is a priority fix because arbitrary file write commonly escalates to code execution or configuration tampering.

Exploit ScenarioDerived

An attacker who operates (or compromises) a Mattermost server that has been federated as a shared-channel peer with the victim uploads a file whose FileInfo.Name contains '../' traversal sequences. When the victim server processes the sync message it writes the attacker-supplied content to a path outside the filestore - for example overwriting a plugin binary, configuration file, or web-accessible asset - which can then be leveraged for code execution or persistence. No public proof-of-concept has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 12, 2026

Arbitrary file write in Mattermost via path traversal affects versions 11.6.x ≤ 11.6.1, 11.5.x ≤ 11.5.4, and 10.11.x ≤ 10.11.15/10.11.16 when shared channels with federated peers are in use. An attacker who controls a federated Mattermost server can supply crafted FileInfo.Name values during file sync to write files to arbitrary locations in the target server's filestore. No public exploit identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

Patch available per vendor advisory MMSA-2026-00661 (https://mattermost.com/security-updates) - upgrade to a fixed release above 11.6.1, 11.5.4, or 10.11.16 as listed by Mattermost; exact fix versions should be confirmed against that advisory before deployment. As a compensating control until patching, disable the shared channels feature or remove federation/trust with any peer servers not under your direct administrative control, accepting the trade-off that cross-organization collaboration channels will stop syncing. If federation must remain on, restrict outbound and inbound shared-channel connections at the network layer to only known partner servers and monitor filestore directories for unexpected writes outside the configured attachments path.

Affected VersionsENISA

Mattermost 10.11.0 ≤10.11.15
Mattermost 10.11.0 ≤10.11.16
Mattermost 11.6.0 ≤11.6.1
Mattermost 11.5.0 ≤11.5.4

Affected Packages

go github.com/mattermost/mattermost-server fix: 10.11.17+incompatible, 10.11.17, 11.5.5+incompatible, 11.5.5, 11.6.1+incompatible, 11.6.1
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20260423180926-c021eeaff8f0
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

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

Technical ContextAI · show details

Mattermost's shared channels feature lets multiple Mattermost servers federate and synchronize messages and attachments across organizational boundaries. During file sync, the receiving server consumes a FileInfo structure (including a Name field) sent by the peer and uses it to persist the file on the local filestore. The flaw is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) - the Name field is trusted rather than sanitized for '..' / absolute path components, so traversal sequences resolve outside the intended attachment directory. The affected component is the Mattermost server application identified by cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*.

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

Vendor (Mattermost) PRIMARY 7.6 HIGH
AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
vuln.today AI 7.6 HIGH

Network-reachable file sync (AV:N/AC:L); requires administrative control of a federated peer (PR:H); arbitrary file write crosses the filestore trust boundary (S:C) yielding high integrity and low availability impact with no direct confidentiality loss.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:L/SA:N
SUSE HIGH

Primary rating from Vendor (Mattermost).

CVSS VectorVendor: Mattermost

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

DescriptionCVE.org

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Mattermost fails to sanitize FileInfo.Name received from federated peers during shared channel file sync, which allows an attacker who controls a federated server to write files to arbitrary locations within the target server's filestore via path traversal sequences in the filename field.. Mattermost Advisory ID: MMSA-2026-00661

Executive ViewAI

Why It Matters

Mattermost versions 10.11.x through 11.6.1 contain an arbitrary file write vulnerability in federated file synchronization that allows attackers controlling external Mattermost peers to write files to the target server's storage. Organizations operating federated Mattermost deployments risk unauthorized modification of critical files and potential lateral movement, with no vendor patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable federated shared channels if not required for operations; (2) restrict peer federation to explicitly trusted, organization-controlled Mattermost servers; (3) implement file integrity monitoring on Mattermost filestore directories to detect unauthorized file creation or modification; (4) enforce network segmentation and access controls between federated Mattermost servers to limit lateral movement; (5) maintain audit logs of file sync operations for forensic analysis.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor VulDB

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

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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

Vendor StatusVendor

SUSE

Severity: Important

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