CVE-2026-6957 PUBLISHED

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

Assigner: Mattermost
Reserved: 24.04.2026 Published: 27.05.2026 Updated: 27.05.2026

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

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 8

Product Status

Vendor Mattermost
Product Mattermost
Versions Default: unaffected
  • affected from 0 to 1.1.5 (incl.)
  • Version .0 is unaffected

Solutions

Update Mattermost Plugins to versions .0 or higher.

Credits

  • Hassan Mohammed finder

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE