GitHub Advisory Database
GHSA-86jg-35xj-3vv5
Mattermost fails to properly enforce access control restrictions for System Manager roles
Details
Mattermost versions 10.7.x <= 10.7.0, 10.5.x <= 10.5.3, 9.11.x <= 9.11.12 fails to properly enforce access control restrictions for System Manager roles, allowing authenticated users with System Manager privileges to view team details they should not have access to via direct API requests to team endpoints, even when explicitly configured with 'No access' to Teams in the System Console.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 10.6.0-rc1 before 10.7.1 (fixed in 10.7.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.0.0-rc1 before 10.5.4 (fixed in 10.5.4) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.0.0-rc1 before 9.11.13 (fixed in 9.11.13) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20250414154356-6f33b721de76 (fixed in 8.0.0-20250414154356-6f33b721de76) |