GitHub Advisory Database
GHSA-mc2f-jgj6-6cp3
Mattermost fails to properly invalidate personal access tokens upon user deactivation
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 fails to properly invalidate personal access tokens upon user deactivation, allowing deactivated users to maintain full system access by exploiting access token validation flaws via continued usage of previously issued tokens.
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.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-20250402193107-65343f84a783 (fixed in 8.0.0-20250402193107-65343f84a783) |