NetSight
medium4.3

CVE-2025-6465

Mattermost Fails to Sanitize File Names

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/mattermost/mattermost-server>= 10.8.0, <= 10.8.310.8.4
gogithub.com/mattermost/mattermost/server/v8< 8.0.0-20250708173752-d6b35c41f0ae58.0.0-20250708173752-d6b35c41f0ae5

Affected products

VendorProductAffected versions
MattermostMattermost Server
from 10.5.0 before 10.5.9
from 10.8.0 before 10.8.4
from 10.9.0 before 10.9.4
Version 10.10.0

Weakness classification

References