GitHub Advisory Database
GHSA-4mmr-2w8p-whcr
Mattermost improperly allows team administrators to modify team invites
Details
Mattermost versions 10.7.x <= 10.7.0, 10.6.x <= 10.6.2, 10.5.x <= 10.5.3, 9.11.x <= 9.11.12 fail to properly validate permissions when changing team privacy settings, allowing team administrators without the 'invite user' permission to access and modify team invite IDs via the /api/v4/teams/:teamId/privacy endpoint.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 10.7.0-rc1 before 10.7.1 (fixed in 10.7.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.6.0-rc1 before 10.6.3 (fixed in 10.6.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.5.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-20250412152950-02c76784380a (fixed in 8.0.0-20250412152950-02c76784380a) |