CVE-2026-6961 · HIGH (CVSS 7.6)
Summary: CVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync
Details
Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Mattermost fails to sanitize FileInfo.Name received from federated peers during shared channel file sync, which allows an attacker who controls a federated server to write files to arbitrary locations within the target server's filestore via path traversal sequences in the filename field.. Mattermost Advisory ID: MMSA-2026-00661
Severity
HIGH (CVSS 7.6) — vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
Affected packages
- Go github.com/mattermost/mattermost-server [11.6.0 – 11.6.1]
- Go github.com/mattermost/mattermost-server [11.5.0 – 11.5.5]
- Go github.com/mattermost/mattermost-server [10.11.0 – 10.11.17]
- Go github.com/mattermost/mattermost/server/v8 [8.0.0-20250731163400-5b955468ea1e – 8.0.0-20260423180926-c021eeaff8f0]
- GIT github.com/mattermost/mattermost [5b955468ea1ea8b56c0fb10feb258a36a767d7bb – 202d125afa87fe39611686850fd82590c99ca344] [9f2616376582893035a7e3cb38b0fab648bba4e8 – d5f29c8ebbeb04460d16d9e2635ce50deeb78428] [d4f4e78835e86e2e76f76bfe797623076f5c9835 – 1ce2484a00c9821ee19708d2c46720e4855033a9]