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

Published May 27, 2026
·
Updated

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

Affected Software

2 affected components
Mattermost Mattermost Legal Hold plugin<=1.1.5
Mattermost Legal Hold Mattermost<=1.1.5

Remediation

Information

Update Mattermost Plugins to versions .0 or higher.

Event History

May 27, 2026
CVE Published
via MITRE·02:23 PM
Data Sourced
via MITRE·02:23 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6957?

The severity of CVE-2026-6957 is classified as high with a score of 8.

2

How do I fix CVE-2026-6957?

To fix CVE-2026-6957, update the Mattermost Legal Hold plugin to version 1.1.6 or higher.

3

What does CVE-2026-6957 exploit?

CVE-2026-6957 exploits a path traversal vulnerability caused by unsanitized file names from federated peers.

4

Who is affected by CVE-2026-6957?

Mattermost users utilizing versions of the Legal Hold plugin that are 1.1.5 or lower are affected by CVE-2026-6957.

5

What can attackers do with CVE-2026-6957?

Attackers can write files to arbitrary locations within the target server's filestore by exploiting CVE-2026-6957.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203