8.0High

CVE-2026-6957Path traversal in Mattermost Legal Hold plugin via unsanitized file name from federated peer allows arbitrary file write.

Mattermost Mattermost Published: (5 months ago)

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

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
mattermost legal hold ≤ 1.1.5
Mattermost Mattermost ≤ 1.1.5, fixed .0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mattermost:legal_hold:*:*:*:*:*:mattermost:*:* ≤ 1.1.5