CVE-2025-6465: Path traversal in image upload with preview overwrite
Vulnerability summary
CVE-2025-6465 is a medium (CVSS 4.3) vulnerability in mattermost. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 55.5% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-08-2025PublishedVulnerability first disclosed.
- 21-08-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.77% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/mattermost/mattermost-server2 products
- v5All versions (No fix recorded)
- v6All versions (No fix recorded)
Mattermost2 products
- mattermost≥ 10.8.0, ≤ 10.8.3 | ≥ 10.5.0, ≤ 10.5.8 | 10.10.0 | ≥ 10.9.0, ≤ 10.9.3
- mattermost_serverEOL≥ 10.5.0, < 10.5.9 | ≥ 10.8.0, < 10.8.4 | ≥ 10.9.0, < 10.9.4 | 10.10.0
Github.com/mattermost1 product
- 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.10.0+incompatible, < 10.10.1+incompatible
Github.com/mattermost/mattermost/server1 product
- v8< 8.0.0-20250708173752-d6b35c41f0ae5 | All versions (No fix recorded)
4 vendors · 6 products