{"id":"GHSA-pj6f-rc94-gw53","summary":"Mattermost Fails to Sanitize File Names","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":["CVE-2025-6465","GO-2025-3910"],"modified":"2025-08-29T21:00:27Z","published":"2025-08-21T18:31:29Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-08-22T16:58:51Z","nvd_published_at":"2025-08-21T17:15:32Z","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6465"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-3906"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"10.8.0"},{"fixed":"10.8.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-pj6f-rc94-gw53/GHSA-pj6f-rc94-gw53.json","last_known_affected_version_range":"\u003c= 10.8.3"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"10.5.0"},{"fixed":"10.5.9"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 10.5.8","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-pj6f-rc94-gw53/GHSA-pj6f-rc94-gw53.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"10.9.0"},{"fixed":"10.9.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-pj6f-rc94-gw53/GHSA-pj6f-rc94-gw53.json","last_known_affected_version_range":"\u003c= 10.9.3"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"10.10.0"},{"fixed":"10.10.1"}]}],"versions":["10.10.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-pj6f-rc94-gw53/GHSA-pj6f-rc94-gw53.json"}},{"package":{"name":"github.com/mattermost/mattermost/server/v8","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.0.0-20250708173752-d6b35c41f0ae5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-pj6f-rc94-gw53/GHSA-pj6f-rc94-gw53.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"}]}