GitHub Advisory Database
GHSA-pfw6-5rx3-xh3c
Mattermost fails to check the "invite_guest" permission
Details
Mattermost fails to check the "invite_guest" permission when inviting guests of other teams to a team, allowing a member with permissions to add other members but not to add guests to add a guest to a team as long as the guest was already a guest in another team of the server
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 9.4.0 before 9.4.2 (fixed in 9.4.2) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.3.0 before 9.3.1 (fixed in 9.3.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.2.0 before 9.2.5 (fixed in 9.2.5) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.1.9 (fixed in 8.1.9) |