Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl federated peer server
-
DeliveryEstablish shared channel sync with victim
-
ExploitSend FileInfo with traversal in Name
-
ExecutionVictim writes file outside filestore
-
PersistOverwrite binary or config
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
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.
Primary rating from Vendor (Mattermost).
CVSS VectorVendor: Mattermost
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Mattermost
View allMattermost 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
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
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
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
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
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
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
EUVD-2026-36504
GHSA-8qq9-cqj8-82w4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB