GHSA-r7r2-m3vr-c8qc
Mattermost Fails to Validate Team Invite Permissions
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.6.0, < 10.6.2 | 10.6.2 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.5.0, < 10.5.3 | 10.5.3 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.4.0, < 10.4.5 | 10.4.5 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 9.11.0, < 9.11.12 | 9.11.12 |
| Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250415054241-76ab3867b785 | 8.0.0-20250415054241-76ab3867b785 |
Details
As written in the advisory (Markdown source, shown as plain text).
Mattermost versions 10.6.x <= 10.6.1, 10.5.x <= 10.5.2, 10.4.x <= 10.4.4, 9.11.x <= 9.11.11 fail to check the correct permissions which allows authenticated users who only have permission to invite non-guest users to a team to add guest users to that team via the API to add a single user to a team.
References
External links from the advisory. They lead to third-party sites.