CVE-2025-6465 · MEDIUM (CVSS 4.3)
Summary: Path traversal in image upload with preview overwrite
Details
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.
Severity
MEDIUM (CVSS 4.3) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected packages
- Go github.com/mattermost/mattermost-server [10.8.0 – 10.8.4]
- Go github.com/mattermost/mattermost-server [10.5.0 – 10.5.9]
- Go github.com/mattermost/mattermost-server [10.9.0 – 10.9.4]
- Go github.com/mattermost/mattermost-server [10.10.0 – 10.10.1]
- Go github.com/mattermost/mattermost/server/v8 [0 – 8.0.0-20250708173752-d6b35c41f0ae5]
- GIT github.com/mattermost/mattermost [58bd34fd34cbd7d3da777d627b6cffdf8a532930 – c602a4a78e1f60b9a97ee5bce509ecad4177340c] [bb105f3a2785636ad53b2d0bf4027900d41f6a67 – 6880f9b5908f20c6c4db1456d3a27603af01dd72] [14775836a78c8257de08fff229d364755346eff9 – 3b7a835de6c3e0a43212516f91d7e679daa56bb6] [c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd – c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd]