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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.10.1 | GHSA-pj6f-rc94-gw53 |
| Go | github.com/mattermost/mattermost-server | 10.8.4 | GHSA-pj6f-rc94-gw53 |
| Go | github.com/mattermost/mattermost-server | 10.9.4 | GHSA-pj6f-rc94-gw53 |
| Go | github.com/mattermost/mattermost-server | 10.5.9 | GHSA-pj6f-rc94-gw53 |
| Go | github.com/mattermost/mattermost-server | 10.10.1+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.4+incompatible | GO-2025-3910 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3910 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3910 |
| Go | github.com/mattermost/mattermost/server/v8 | no fix listed | GO-2025-3910 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250708173752-d6b35c41f0ae5 | GHSA-pj6f-rc94-gw53 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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