Guest user can upload files without permission across teams
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server Go |
|
≥ 11.3.0-rc1 · < 11.3.1≥ 10.11.0-rc1+incompatible · < 10.11.11+incompatible≥ 11.2.0-rc1+incompatible · < 11.2.3+incompatible≥ 11.3.0-rc1+incompatible · < 11.3.1+incompatible
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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
From the CVE record · Mattermost
Affected Mattermost versions fail to validate team-specific upload_file permissions. An authenticated guest can upload a file in a team where they have permission, then reuse its metadata in a POST request to post the file in a channel in another team where they lack that permission.
Teams running Mattermost 11.3.x through 11.3.0, 11.2.x through 11.2.2, or 10.11.x through 10.11.10, or using the listed affected Go packages, should check their deployments.