ADVISORIES

GitHub Advisory Database

GHSA-q453-638c-h4mr

Mattermost Fails to Validate Remote Cluster Upload Sessions

Details

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.8.0 before 10.8.4 (fixed in 10.8.4)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.9 (fixed in 10.5.9)
Gogithub.com/mattermost/mattermost-server
From 9.11.0 before 9.11.18 (fixed in 9.11.18)
Gogithub.com/mattermost/mattermost-server
From 10.9.0 before 10.9.3 (fixed in 10.9.3)
Gogithub.com/mattermost/mattermost-server
From 10.10.0 before 10.10.1 (fixed in 10.10.1)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250708173752-d6b35c41f0ae5 (fixed in 8.0.0-20250708173752-d6b35c41f0ae5)
Gogithub.com/mattermost/mattermost-server/v5
All versions up to and including 5.39.3
Gogithub.com/mattermost/mattermost-server/v6
All versions up to and including 5.7.2

References