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

- Severity: High 8.0 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-05-27T14:23:50.770Z
- Modified: 2026-06-17T11:01:32.847Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mattermost

## 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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: up to 1.1.5 (not affected: .0)
- mattermost legal_hold: up to 1.1.5

## Every score

- Mattermost: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-6957](https://www.cve.org/CVERecord?id=CVE-2026-6957), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-6957](https://nvd.nist.gov/vuln/detail/CVE-2026-6957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-6957 · Whole record: https://cve.day/CVE-2026-6957.json · Rebuilt by cve.day 2026-11-25T22:59:22.607Z
