{"id":"CVE-2025-6465","published":"2025-08-21T17:01:42Z","modified":"2025-08-21T17:30:45Z","title":"Path traversal in image upload with preview overwrite","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00898,"percentile":0.60503,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":12.1},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.8.0, <= 10.8.3",">= 10.5.0, <= 10.5.8","10.10.0",">= 10.9.0, <= 10.9.3"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.11.0","10.8.4","10.5.9","10.10.1","10.9.4"]}],"solutions":{"items":["Update Mattermost to versions 10.11.0, 10.8.4, 10.5.9, 10.10.1, 10.9.4 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-21T17:21:02.910833Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=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"],"patched":["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"],"from":["GHSA-pj6f-rc94-gw53","GO-2025-3910"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250708173752-d6b35c41f0ae5","all versions"],"patched":["8.0.0-20250708173752-d6b35c41f0ae5"],"from":["GHSA-pj6f-rc94-gw53","GO-2025-3910"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3910"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3910"],"provenance":"source"}],"summary":{"text":"Mattermost's file streaming APIs fail to sanitise file names, creating a path traversal flaw in the image upload and preview handling of the Mattermost product. An attacker with file upload permission and network access, but no user interaction, can overwrite file attachment thumbnails, which affects affected versions 10.8.x through 10.8.3, 10.5.x through 10.5.8, 10.10.x through 10.10.0, and 10.9.x through 10.9.3.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:23Z"},"euvd":{"id":"EUVD-2025-25460","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-47870","published":"2025-08-21","fixed":"8.0.0-20250708065844-b38e2eccda18","kev":false},{"cve":"CVE-2025-8023","published":"2025-08-21","fixed":"8.0.0-20250708065844-b38e2eccda18","kev":false,"link":{"from":"CVE-2025-8023","to":"CVE-2025-6465","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250708065844-b38e2eccda18","toFixed":"8.0.0-20250708173752-d6b35c41f0ae5","daysApart":0}]}},{"cve":"CVE-2025-49222","published":"2025-08-21","fixed":"8.0.0-20250708173752-d6b35c41f0ae5","kev":false},{"cve":"CVE-2025-6465","published":"2025-08-21","fixed":"8.0.0-20250708173752-d6b35c41f0ae5","kev":false},{"cve":"CVE-2025-8402","published":"2025-08-21","fixed":"8.0.0-20250708173752-d6b35c41f0ae5","kev":false},{"cve":"CVE-2025-9078","published":"2025-09-15","fixed":"8.0.0-20250718075842-cd87e5c87737","kev":false},{"cve":"CVE-2025-49810","published":"2025-08-21","fixed":"8.0.0-20250721095846-c602a4a78e1f","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}