GitHub Advisoryadvisory · Go
GHSA-pj6f-rc94-gw53 Mattermost Fails to Sanitize File Names
MEDIUM
Official page ↗
- Aliases
- CVE-2025-6465
- Ecosystem
- Go
- Packages
- github.com/mattermost/mattermost-server, github.com/mattermost/mattermost/server/v8
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2025-08-22
Affected packages
• Go github.com/mattermost/mattermost-server: >= 10.8.0, < 10.8.4 → fixed in 10.8.4
• Go github.com/mattermost/mattermost-server: >= 10.5.0, < 10.5.9 → fixed in 10.5.9
• Go github.com/mattermost/mattermost-server: >= 10.9.0, < 10.9.4 → fixed in 10.9.4
• Go github.com/mattermost/mattermost-server: >= 10.10.0, < 10.10.1 → fixed in 10.10.1
• Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20250708173752-d6b35c41f0ae5 → fixed in 8.0.0-20250708173752-d6b35c41f0ae5
Description
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 10.10.x <= 10.10.0, 10.9.x <= 10.9.3 fail to sanitize file names which allows users with file upload permission to overwrite file attachment thumbnails via path traversal in file streaming APIs.
Related
Alias · CVE (1)
- CVE-2025-6465 Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 10.10.x <= 10.10.0, 10.9.x <= 10.9.3 fail to sanitize file names which allows users… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness