ADVISORIES

GitHub Advisory Database

GHSA-gq3r-5833-5532

Mattermost Fails to Validate File Paths

Details

Mattermost versions 10.9.x <= 10.9.1, 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17 fail to properly validate file paths during plugin import operations which allows restricted admin users to install unauthorized custom plugins via path traversal in the import functionality, bypassing plugin signature enforcement and marketplace restrictions.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.9.0 before 10.9.2 (fixed in 10.9.2)
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/v8
All versions before 8.0.0-20250619095651-9dd0b3943e55 (fixed in 8.0.0-20250619095651-9dd0b3943e55)
Gogithub.com/mattermost/mattermost-server/v5
All versions up to and including 5.11.1
Gogithub.com/mattermost/mattermost-server/v6
All versions up to and including 6.7.2

References