GitHub Advisory Database
GHSA-rhvr-6w8c-6v7w
Mattermost fails to invalidate all active sessions when converting a user to a bot
Details
Mattermost versions 9.11.x <= 9.11.6, 10.4.x <= 10.4.1 fail to invalidate all active sessions when converting a user to a bot, with allows the converted user to escalate their privileges depending on the permissions granted to the bot.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20241217145510-faa7e4f2ea0c (fixed in 8.0.0-20241217145510-faa7e4f2ea0c) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.4.0-rc1 before 10.4.2 (fixed in 10.4.2) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.11.0-rc1 before 9.11.7 (fixed in 9.11.7) |