CVE-2025-6465Published Aug 21, 2025 · Aug 21Updated 5d ago
Path traversal in image upload with preview overwrite
Mattermost
Medium4.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
≥ 10.10.0+incompatible · < 10.10.1+incompatible
|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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.
From the CVE record · Mattermost
Affected Mattermost versions do not sanitize file names in file streaming APIs. A user with file upload permission can use path traversal to overwrite file attachment thumbnails.
Check Mattermost 10.5.x through 10.5.8, 10.8.x through 10.8.3, 10.9.x through 10.9.3, and 10.10.0, as well as users of the affected Go packages, including mattermost-server/v5 and /v6, which have no listed fix.