{"id":"CVE-2025-6465","summary":"Path traversal in image upload with preview overwrite","details":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 10.10.x \u003c= 10.10.0, 10.9.x \u003c= 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.","aliases":["GHSA-pj6f-rc94-gw53","GO-2025-3910"],"modified":"2026-08-12T03:51:12.489336857Z","published":"2025-08-21T17:01:42.866Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6465.json","unresolved_ranges":[{"extracted_events":[{"introduced":"10.8.0"},{"last_affected":"10.8.3"},{"introduced":"10.5.0"},{"last_affected":"10.5.8"},{"introduced":"10.10.0"},{"last_affected":"10.10.0"},{"introduced":"10.9.0"},{"last_affected":"10.9.3"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"Mattermost"},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6465.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6465"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"58bd34fd34cbd7d3da777d627b6cffdf8a532930"},{"fixed":"c602a4a78e1f60b9a97ee5bce509ecad4177340c"},{"introduced":"bb105f3a2785636ad53b2d0bf4027900d41f6a67"},{"fixed":"6880f9b5908f20c6c4db1456d3a27603af01dd72"},{"introduced":"14775836a78c8257de08fff229d364755346eff9"},{"fixed":"3b7a835de6c3e0a43212516f91d7e679daa56bb6"},{"introduced":"c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd"},{"last_affected":"c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd"}],"database_specific":{"cpe":["cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:10.10.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"10.5.0"},{"fixed":"10.5.9"},{"introduced":"10.8.0"},{"fixed":"10.8.4"},{"introduced":"10.9.0"},{"fixed":"10.9.4"},{"introduced":"10.10.0-NA"},{"last_affected":"10.10.0-NA"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["10.10.0-NA","v10.8.4-rc4","v10.9.4-rc1","v10.5.9-rc4","v10.5.9-rc3","v10.8.4-rc3","v10.9.3-rc4","v10.9.3","v10.5.9-rc2","v10.8.4-rc2","v10.9.3-rc3","v10.10.0","v10.9.3-rc2","v10.8.4-rc1","v10.9.3-rc1","v10.5.9-rc1","v10.9.2-rc1","v10.9.2","v10.5.8","v10.8.3","v10.9.1","v10.8.2","v10.5.8-rc1","v10.9.0-rc4","v10.9.0","mattermost-redux@10.8.0","@mattermost/types@10.8.0","@mattermost/client@10.8.0","v10.5.7","v10.5.6-rc1","v10.5.6","v10.8.1","v10.5.5","v10.5.5-rc1","v10.8.0-rc3","v10.8.0","v10.5.4-rc2","v10.5.4","v10.5.4-rc1","v10.5.3","v10.5.3-rc1","v10.5.2","v10.5.1","v10.5.1-rc2","v10.5.1-rc1","v10.5.0-rc6","v10.5.0","@mattermost/types@10.5.0","@mattermost/client@10.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6465.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}