Skip to main content

CVE-2026-6961 — Vulnerability in mattermost/mattermost-server

HIGH

Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync

Published June 12, 2026Updated August 26, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.45%). Schedule for your next planned update.

Does your project use an affected github.com/mattermost/mattermost-server version?

Paste your go.sum to check it for CVE-2026-6961 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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

Advisory Timeline

  • First published June 12, 2026 (167 days ago).
  • Last revised August 26, 2026 — 74 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/mattermost/mattermost-server to 10.11.17 or later
go get github.com/mattermost/mattermost-server@v10.11.17
Go
Update github.com/mattermost/mattermost-server to 11.5.5 or later
go get github.com/mattermost/mattermost-server@v11.5.5
Go
Update github.com/mattermost/mattermost-server to 11.6.1 or later
go get github.com/mattermost/mattermost-server@v11.6.1
Go
Update github.com/mattermost/mattermost/server/v8 to 8.0.0-20260423180926-c021eeaff8f0 or later
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260423180926-c021eeaff8f0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/mattermost/mattermost-server Go · Affected: All versions10.11.17
github.com/mattermost/mattermost-server Go · Affected: All versions11.5.5
github.com/mattermost/mattermost-server Go · Affected: 11.6.011.6.1
github.com/mattermost/mattermost/server/v8 Go · Affected: All versions8.0.0-20260423180926-c021eeaff8f0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L

Frequently Asked Questions

What is CVE-2026-6961?
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.6/10).
How do I check if my project is affected by CVE-2026-6961?
CVE-2026-6961 affects github.com/mattermost/mattermost-server and github.com/mattermost/mattermost/server/v8. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-6961 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.45%
EPSS percentile: 31.2

This is a below-median EPSS score — only 31.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-8qq9-cqj8-82w4
GO-2026-6281

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum