Vulnerability · Published Aug 21, 2025 · Assigned by Mattermost

CVE-2025-6465Path traversal in image upload with preview overwrite

Medium 4.3

In plain English

A medium-severity path traversal in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.8%top 44.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server10.10.1GHSA-pj6f-rc94-gw53
Gogithub.com/mattermost/mattermost-server10.8.4GHSA-pj6f-rc94-gw53
Gogithub.com/mattermost/mattermost-server10.9.4GHSA-pj6f-rc94-gw53
Gogithub.com/mattermost/mattermost-server10.5.9GHSA-pj6f-rc94-gw53
Gogithub.com/mattermost/mattermost-server10.10.1+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.4+incompatibleGO-2025-3910
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2025-3910
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2025-3910
Gogithub.com/mattermost/mattermost/server/v8no fix listedGO-2025-3910
Gogithub.com/mattermost/mattermost/server/v88.0.0-20250708173752-d6b35c41f0ae5GHSA-pj6f-rc94-gw53

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 10.8.0 – through 10.8.310.5.0 – through 10.5.810.10.010.9.0 – through 10.9.3

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References