What’s Vulnerable › Vulnerabilities
CVE-2025-6465: Path traversal in image upload with preview overwrite
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-21 · updated 2026-06-17
- Weakness: CWE-22
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 products
- Mattermost: from 10.5.0 before 10.5.9; from 10.8.0 before 10.8.4; from 10.9.0 before 10.9.4; 10.10.0 — fixed in 10.5.9, 10.8.4, 10.9.4
How to fix
Upgrade to a fixed version: Mattermost 10.5.9, 10.8.4, 10.9.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-6465 or the next vulnerability affects your stack