CVE-2026-6961 — Vulnerability in...
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
Summary
Advisory Timeline
- First published June 12, 2026 (122 days ago).
- Last revised August 26, 2026 — 74 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v11.5.5
go get github.com/mattermost/mattermost-server@v10.11.17
go get github.com/mattermost/mattermost-server@v11.6.1
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260423180926-c021eeaff8f0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: go (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/mattermost/mattermost-server | go | All versions | 11.5.5 |
| github.com/mattermost/mattermost-server | go | All versions | 10.11.17 |
| github.com/mattermost/mattermost-server | go | 11.6.0 | 11.6.1 |
| github.com/mattermost/mattermost/server/v8 | go | All versions | 8.0.0-20260423180926-c021eeaff8f0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6961ADVISORY
- https://github.com/mattermost/mattermost/pull/36255WEB
- https://github.com/mattermost/mattermost/pull/36253WEB
- https://github.com/mattermost/mattermost/pull/36252WEB
- https://github.com/mattermost/mattermost/pull/36251WEB
- https://github.com/mattermost/mattermost/pull/36223WEB
- https://github.com/mattermost/mattermost/commit/c896a63dc44c2f9c081a0a15bfddc4e6eb50e753WEB
- https://github.com/mattermost/mattermost/commit/c021eeaff8f003034ab40f82c552cc26a710a8fdWEB
- https://github.com/mattermost/mattermost/commit/a9f3868e1eee9ec61855cd7277f39937385efffdWEB
- https://github.com/mattermost/mattermost/commit/a0056ed68d95f64d7c4586985e7b7f16b96b3becWEB
- https://github.com/mattermost/mattermost/commit/61d68d2d6ee81a5919597d91c736c502d7156859WEB
- https://github.com/mattermost/mattermost/releases/tag/v10.11.16WEB
- https://github.com/mattermost/mattermost/releases/tag/v11.5.5WEB
- https://github.com/mattermost/mattermost/releases/tag/v11.6.2WEB
- https://github.com/mattermost/mattermost/releases/tag/v11.7.0WEB
- https://mattermost.com/security-updatesWEB
- https://github.com/mattermost/mattermostPACKAGE
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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-6961 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-12421CRITICAL
Mattermost fails to to verify the token used during code exchange
- CVE-2025-4981CRITICAL
Mattermost allows authenticated users to write files to arbitrary locations
- CVE-2025-58073HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-6346HIGH
Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords
- CVE-2025-9079HIGH
Mattermost Path Traversal vulnerability
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-5740HIGH
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies