GitHub Advisory Database
GHSA-r833-w756-h5p2
Mattermost fails to check the required permissions
Details
Mattermost fails to check the required permissions in the POST /api/v4/channels/stats/member_count API resulting in channel member counts being leaked to a user without permissions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.1.8 (fixed in 8.1.8) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.0.0 before 9.3.0 (fixed in 9.3.0) |