Advisory

GHSA-8qq9-cqj8-82w4

Also known as: CVE-2026-6961, GO-2026-6281

Summary

Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file 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 fail 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 Basis: The source's own band: HIGH

Dates

Published
2026-06-12 18:31 UTC
Modified
2026-08-26 01:21 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.6.0, fixed 11.6.1 (semver)

Fixed versions

11.6.1

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.5.0, fixed 11.5.5 (semver)

Fixed versions

11.5.5

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0, fixed 10.11.17 (semver)

Fixed versions

10.11.17

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0-20250731163400-5b955468ea1e, fixed 8.0.0-20260423180926-c021eeaff8f0 (semver)

Fixed versions

8.0.0-20260423180926-c021eeaff8f0

Fix

  • Fixed version 8.0.0-20260423180926-c021eeaff8f0
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences