GitHub Advisory Database
GHSA-cwfj-642j-gfh4
Mattermost fails to properly enforce read permissions in search API endpoints
Details
Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to properly enforce read permissions in search API endpoints which allows guest users without read permissions to access posts and files in channels via search API requests. Mattermost Advisory ID: MMSA-2025-00554
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20260107142155-0481bd1fb045 (fixed in 8.0.0-20260107142155-0481bd1fb045) |
| Go | github.com/mattermost/mattermost-server | All versions before 5.3.2-0.20260107142155-0481bd1fb045 (fixed in 5.3.2-0.20260107142155-0481bd1fb045) |
| 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) |