Skip to content

CVE-2025-6465 Path traversal in image upload with preview overwrite

MediumCVSS 4.3 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

4 packages: 2 fixed, 2 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) = 10.10.0; >= 10.5.0+incompatible, < 10.5.9+incompatible; >= 10.5.0, < 10.5.9; >= 10.5.0, <= 10.5.8 +9 more 10.5.9, 10.5.9+incompatible, 10.8.4, 10.8.4+incompatible, 10.9.4, 10.9.4+incompatible, 10.10.1, 10.10.1+incompatible Partially fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250708173752-d6b35c41f0ae5; All versions 8.0.0-20250708173752-d6b35c41f0ae5 Partially fixed
Mattermost = 10.10.0; >= 10.5.0, <= 10.5.8; >= 10.8.0, <= 10.8.3; >= 10.9.0, <= 10.9.3 after 10.5.8, 10.8.3, 10.9.3 Fixed
mattermost server = 10.10.0; >= 10.5.0, < 10.5.9; >= 10.8.0, < 10.8.4; >= 10.9.0, < 10.9.4 10.5.9, 10.8.4, 10.9.4 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.8.0, < 10.8.4 10.8.4
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0, < 10.5.9 10.5.9
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.9.0, < 10.9.4 10.9.4
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.10.0, < 10.10.1 10.10.1
Mattermost github.com/mattermost/mattermost-server/v6(Go) = 10.10.0 No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250708173752-d6b35c41f0ae5 8.0.0-20250708173752-d6b35c41f0ae5
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0+incompatible, < 10.5.9+incompatible 10.5.9+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.8.0+incompatible, < 10.8.4+incompatible 10.8.4+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.9.0+incompatible, < 10.9.4+incompatible 10.9.4+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.10.0+incompatible, < 10.10.1+incompatible 10.10.1+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) All versions No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.8.0, <= 10.8.3 No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0, <= 10.5.8 No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.9.0, <= 10.9.3 No fix listed
Mattermost >= 10.8.0, <= 10.8.3 No fix listed
Mattermost >= 10.5.0, <= 10.5.8 No fix listed
Mattermost = 10.10.0 No fix listed
Mattermost >= 10.9.0, <= 10.9.3 No fix listed
mattermost server >= 10.5.0, < 10.5.9 10.5.9
mattermost server >= 10.8.0, < 10.8.4 10.8.4
mattermost server >= 10.9.0, < 10.9.4 10.9.4
mattermost server = 10.10.0 No fix listed

References