{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6465","id":"CVE-2025-6465","title":"Path traversal in image upload with preview overwrite","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.","descriptionLong":"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":"2025-08-21T17:01:42.866Z","updated":"2026-11-14T02:45:34.396035457Z","reserved":"2025-06-21T00:52:35.389Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.8.3","status":"affected","version":"10.8.0","versionType":"semver"},{"lessThanOrEqual":"10.5.8","status":"affected","version":"10.5.0","versionType":"semver"},{"status":"affected","version":"10.10.0","versionType":"semver"},{"lessThanOrEqual":"10.9.3","status":"affected","version":"10.9.0","versionType":"semver"},{"status":"unaffected","version":"10.11.0"},{"status":"unaffected","version":"10.8.4"},{"status":"unaffected","version":"10.5.9"},{"status":"unaffected","version":"10.10.1"},{"status":"unaffected","version":"10.9.4"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["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"],"advisory":"GHSA-pj6f-rc94-gw53"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250708173752-d6b35c41f0ae5","all versions"],"fixed":["8.0.0-20250708173752-d6b35c41f0ae5"],"advisory":"GHSA-pj6f-rc94-gw53"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3910"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3910"}],"cwes":["CWE-22"],"aliases":["GHSA-pj6f-rc94-gw53","GO-2025-3910"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6465.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6465","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3906","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pj6f-rc94-gw53","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00836,"epssPercentile":0.58424,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6465","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6465","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6465","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pj6f-rc94-gw53","ok":true,"note":"GHSA-pj6f-rc94-gw53"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6465","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}