Description
Mattermost Plugins versions <=1.1.5 fail to sanitize filenames received from federated peers before using them to construct export destination paths, which allows an administrator of a remote federated Mattermost server to write files to arbitrary locations within the target server's filestore via a malicious filename delivered through the shared-channel attachment sync protocol. Mattermost Advisory ID: MMSA-2026-00659
Published: 2026-05-27
Score: 8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when Mattermost Plugins versions up to 1.1.5 accept filenames from federated Mattermost peers without sanitizing them before using those names to build export paths. This omission permits an attacker who can act as an administrator on a remote federated server to supply a crafted filename that traverses directories and writes a file to any location within the target server’s filestore. The result is a classic path‑traversal flaw described by CWE‑22, potentially leading to unauthorized file creation, modification, or deletion, and could be leveraged to place malicious code on the server, impacting confidentiality, integrity, and availability of data.

Affected Systems

This flaw affects Mattermost plugin deployments that are version 1.1.5 or older. Administrators of Mattermost installations should verify whether the Legal Hold plugin or related federated attachment sync functionality is present and, if so, confirm the exact plugin version in use. The vulnerability is specific to Mattermost’s handling of filenames received through the shared‑channel attachment sync protocol.

Risk and Exploitability

The CVSS score of 8 indicates a high severity level, emphasizing the potential damage if exploited. EPSS is not available, so there is no quantified probability of exploitation recorded at this time. The vulnerability is not listed in CISA’s KEV catalog. Clearly, the attack vector is remote: a federated server administrator can send a malicious payload, implying that only trusted federation partners pose a risk. If such an attacker is present, the path‑traversal flaw makes it straightforward to write files to arbitrary paths, suggesting a high exploitability when the necessary conditions are satisfied.

Generated by OpenCVE AI on May 27, 2026 at 21:54 UTC.

Remediation

Vendor Solution

Update Mattermost Plugins to versions .0 or higher.


OpenCVE Recommended Actions

  • Use the official update: upgrade Mattermost Plugins to any .0 or higher version as advised by the CNA.
  • Disable or restrict federated attachment sync with untrusted peers to prevent delivery of malicious filenames.
  • Verify filestore directory permissions and audit write activity to detect unauthorized file placements, applying strict access controls where possible.

Generated by OpenCVE AI on May 27, 2026 at 21:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Tue, 02 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Mattermost legal Hold
CPEs cpe:2.3:a:mattermost:legal_hold:*:*:*:*:*:mattermost:*:*
Vendors & Products Mattermost legal Hold

Thu, 28 May 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Mattermost
Mattermost mattermost
Vendors & Products Mattermost
Mattermost mattermost

Wed, 27 May 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 27 May 2026 15:15:00 +0000

Type Values Removed Values Added
Description Mattermost Plugins versions <=1.1.5 fail to sanitize filenames received from federated peers before using them to construct export destination paths, which allows an administrator of a remote federated Mattermost server to write files to arbitrary locations within the target server's filestore via a malicious filename delivered through the shared-channel attachment sync protocol. Mattermost Advisory ID: MMSA-2026-00659
Title Path traversal in Mattermost Legal Hold plugin via unsanitized file name from federated peer allows arbitrary file write.
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Mattermost Legal Hold Mattermost
cve-icon MITRE

Status: PUBLISHED

Assigner: Mattermost

Published:

Updated: 2026-05-28T03:55:34.437Z

Reserved: 2026-04-24T13:23:50.185Z

Link: CVE-2026-6957

cve-icon Vulnrichment

Updated: 2026-05-27T17:26:56.583Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T15:16:34.903

Modified: 2026-06-02T14:29:03.550

Link: CVE-2026-6957

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T04:30:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')