GitHub Advisory Database
GHSA-xpvf-6qcc-9jqc
Mattermost fails to validate team-specific upload_file permissions
Details
Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to validate team-specific upload_file permissions which allows a guest user to post files in channels where they lack upload_file permission via uploading files in a team where they have permission and reusing the file metadata in a POST request to a different team. Mattermost Advisory ID: MMSA-2025-00553
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20260107144005-c7f6efdfb035 (fixed in 8.0.0-20260107144005-c7f6efdfb035) |
| Go | github.com/mattermost/mattermost-server | All versions before 5.3.2-0.20260107144005-c7f6efdfb035 (fixed in 5.3.2-0.20260107144005-c7f6efdfb035) |
| Go | github.com/mattermost/mattermost-server | From 10.11.0-rc1 before 10.11.11 (fixed in 10.11.11) |
| Go | github.com/mattermost/mattermost-server | From 11.2.0-rc1 before 11.2.3 (fixed in 11.2.3) |
| Go | github.com/mattermost/mattermost-server | From 11.3.0-rc1 before 11.3.1 (fixed in 11.3.1) |