Live threats

All CVEs / Mattermost

CVE-2025-6465Mattermost Server

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
—
Auth required
Yes
Published
Aug 21, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 10.8.0 < 10.8.4 10.8.4 go get github.com/mattermost/mattermost-server@v10.8.4
Go github.com/mattermost/mattermost-server ≥ 10.5.0 < 10.5.9 10.5.9 go get github.com/mattermost/mattermost-server@v10.5.9
Go github.com/mattermost/mattermost-server ≥ 10.9.0 < 10.9.4 10.9.4 go get github.com/mattermost/mattermost-server@v10.9.4
Go github.com/mattermost/mattermost-server ≥ 10.10.0 < 10.10.1 10.10.1 go get github.com/mattermost/mattermost-server@v10.10.1
Go github.com/mattermost/mattermost-server ≥ 10.5.0+incompatible < 10.5.9+incompatible 10.5.9+incompatible go get github.com/mattermost/mattermost-server@v10.5.9+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.8.0+incompatible < 10.8.4+incompatible 10.8.4+incompatible go get github.com/mattermost/mattermost-server@v10.8.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.9.0+incompatible < 10.9.4+incompatible 10.9.4+incompatible go get github.com/mattermost/mattermost-server@v10.9.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.10.0+incompatible < 10.10.1+incompatible 10.10.1+incompatible go get github.com/mattermost/mattermost-server@v10.10.1+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250708173752-d6b35c41f0ae5 8.0.0-20250708173752-d6b35c41f0ae5 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250708173752-d6b35c41f0ae5
Go github.com/mattermost/mattermost/server/v8 all no fixed version —

Per OSV / GitHub Advisories (GHSA-pj6f-rc94-gw53, GO-2025-3910). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 10.5.0 < 10.5.9
mattermostmattermost_server≥ 10.8.0 < 10.8.4
mattermostmattermost_server≥ 10.9.0 < 10.9.4
mattermostmattermost_server10.10.0

Official sources

References

Links published by the sources. Open them with care.