Skip to content
OpenAdvisories
Medium · 4.3 CVE-2025-6465 EUVD-2025-25460GHSA-pj6f-rc94-gw53GO-2025-3910

Path traversal in image upload with preview overwrite

Published Aug 21, 2025 · Updated Aug 21, 2025 · Assigned by Mattermost

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.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.8.0 – ≤ 10.8.3, 10.5.0 – ≤ 10.5.8, 10.10.0, 10.9.0 – ≤ 10.9.3 10.11.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 10.8.0, < 10.8.4 10.8.4 GHSA-pj6f-rc94-gw53
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.9 10.5.9 GHSA-pj6f-rc94-gw53
Go github.com/mattermost/mattermost-server >= 10.9.0, < 10.9.4 10.9.4 GHSA-pj6f-rc94-gw53
Go github.com/mattermost/mattermost-server >= 10.10.0, < 10.10.1 10.10.1 GHSA-pj6f-rc94-gw53
Go github.com/mattermost/mattermost-server >= 10.5.0+incompatible, < 10.5.9+incompatible · >= 10.8.0+incompatible, < 10.8.4+incompatible · >= 10.9.0+incompatible, < 10.9.4+incompatible · >= 10.10.0+incompatible, < 10.10.1+incompatible 10.5.9+incompatible, 10.8.4+incompatible, 10.9.4+incompatible, 10.10.1+incompatible GO-2025-3910
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3910
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3910
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250708173752-d6b35c41f0ae5 8.0.0-20250708173752-d6b35c41f0ae5 GHSA-pj6f-rc94-gw53
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2025-3910

Advisories 1

References