GitHub Advisory Database
GHSA-8cgx-9ccj-3gwr
Mattermost fails to clear Google OAuth credentials
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 clear Google OAuth credentials when converting user accounts to bot accounts, allowing attackers to gain unauthorized access to bot accounts via the Google OAuth signup flow.
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.0.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-20250414095146-04676582cdd2 (fixed in 8.0.0-20250414095146-04676582cdd2) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.6.0-rc1 before 10.6.3 (fixed in 10.6.3) |