CVE-2025-6465 json
Path traversal in image upload with preview overwrite
published 2025-08-21 14 mo ago modified 2026-06-17 4 mo ago also GHSA-pj6f-rc94-gw53 , GO-2025-3910 , EUVD-2025-25460
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost-server 10.5.9, 10.5.9+incompatible, 10.8.4, 10.8.4+incompatible, 10.9.4, 10.9.4+incompatible, 10.10.1, 10.10.1+incompatible
- go github.com/mattermost/mattermost/server/v8 8.0.0-20250708173752-d6b35c41f0ae5
- Mattermost Mattermost 10.5.9, 10.8.4, 10.9.4, 10.10.1, 10.11.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | >=10.8.0, <10.8.4 >=10.5.0, <10.5.9 >=10.9.0, <10.9.4 >=10.10.0, <10.10.1 >=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.8.4 10.5.9 10.9.4 10.10.1 10.5.9+incompatible 10.8.4+incompatible 10.9.4+incompatible 10.10.1+incompatible |
| go | github.com/mattermost/mattermost/server/v8 | <8.0.0-20250708173752-d6b35c41f0ae5 all versions |
8.0.0-20250708173752-d6b35c41f0ae5 |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-6465
advisory
-
github.com
/mattermost/mattermost
package
-
pkg.go.dev
/vuln/GO-2025-3906
web
-
github.com
/advisories/GHSA-pj6f-rc94-gw53
advisory
Sources
- CVE List CVE-2025-6465
- GitHub Advisory GHSA-pj6f-rc94-gw53
- NVD CVE-2025-6465
- OSV GO-2025-3910
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.