CVE-2025-6465
MEDIUM 4.3CVSS 3.1Mattermost Fails to Sanitize File Names
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.
- Published
- 21 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-pj6f-rc94-gw53GO-2025-3910
- Sources
- NVDJSONOSV GHSA-pj6f-rc94-gw53JSONOSV GO-2025-3910JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.9 | 10.5.9 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.8.0, < 10.8.4 | 10.8.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.9.0, < 10.9.4 | 10.9.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:10.10.0:-:*:*:*:*:*:* |
= 10.10.0 | |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.8.0, < 10.8.4 | 10.8.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.9 | 10.5.9 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.9.0, < 10.9.4 | 10.9.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.10.0, < 10.10.1 | 10.10.1 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250708173752-d6b35c41f0ae5 | 8.0.0-20250708173752-d6b35c41f0ae5 |
| OSV | 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 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6465 · ADVISORY
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3906 · WEB
- https://github.com/advisories/GHSA-pj6f-rc94-gw53 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Aug 2025)