ADVISORIES

GitHub Advisory Database

GHSA-wvw2-3jh4-4c39

Mattermost Path Traversal vulnerability

Details

Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.8.0 before 10.8.2 (fixed in 10.8.2)
Gogithub.com/mattermost/mattermost-server
From 10.7.0 before 10.7.4 (fixed in 10.7.4)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.8 (fixed in 10.5.8)
Gogithub.com/mattermost/mattermost-server
From 9.11.0 before 9.11.17 (fixed in 9.11.17)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250529054450-d38c27f96fcf (fixed in 8.0.0-20250529054450-d38c27f96fcf)

References