CVE-2026-6961 CVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync
HighCVSS 7.6
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | = 11.6.0; >= 10.11.0+incompatible, < 10.11.17+incompatible; >= 10.11.0, < 10.11.17; >= 10.11.0, <= 10.11.15 +6 more | 10.11.17, 10.11.17+incompatible, 11.5.5, 11.5.5+incompatible, 11.6.1, 11.6.1+incompatible | Partially fixed |
| Mattermost | >= 10.11.0, <= 10.11.15; >= 10.11.0, <= 10.11.16; >= 11.5.0, <= 11.5.4; >= 11.6.0, <= 11.6.1 | after 10.11.15, 10.11.16, 11.5.4, 11.6.1 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 8.0.0-20250731163400-5b955468ea1e, < 8.0.0-20260423180926-c021eeaff8f0 | 8.0.0-20260423180926-c021eeaff8f0 | Fixed |
| mattermost server | >= 10.11.0, < 10.11.17; >= 11.5.0, < 11.5.5; >= 11.6.0, < 11.6.2 | 10.11.17, 11.5.5, 11.6.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.6.0, < 11.6.1 | 11.6.1 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | = 11.6.0 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.5.0, < 11.5.5 | 11.5.5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.11.0, < 10.11.17 | 10.11.17 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 8.0.0-20250731163400-5b955468ea1e, < 8.0.0-20260423180926-c021eeaff8f0 | 8.0.0-20260423180926-c021eeaff8f0 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.11.0+incompatible, < 10.11.17+incompatible | 10.11.17+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.5.0+incompatible, < 11.5.5+incompatible | 11.5.5+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.6.0+incompatible, < 11.6.1+incompatible | 11.6.1+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 11.6.0, <= 11.6.1 | No fix listed |
| Mattermost | >= 11.5.0, <= 11.5.4 | No fix listed |
| Mattermost | >= 10.11.0, <= 10.11.15 | No fix listed |
| Mattermost | >= 10.11.0, <= 10.11.16 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.5.0, <= 11.5.4 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.11.0, <= 10.11.15 | No fix listed |
| mattermost server | >= 10.11.0, < 10.11.17 | 10.11.17 |
| mattermost server | >= 11.5.0, < 11.5.5 | 11.5.5 |
| mattermost server | >= 11.6.0, < 11.6.2 | 11.6.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com
- github.com
- github.com
- github.com
- MMSA-2026-00661 vendor-advisory
- github.com product
- github.com vendor-advisory