GitHub Advisory Database
GHSA-6q7m-p8cc-998r
Mattermost has a Missing Authorization vulnerability
Details
Mattermost versions 10.11.x <= 10.11.1, 10.10.x <= 10.10.2, 10.5.x <= 10.5.10 fail to verify a user has permission to join a Mattermost team using the original invite token which allows any attacked to join any team on a Mattermost server regardless of restrictions via manipulating the OAuth state.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20250807174701-e14175eb6539 (fixed in 8.0.0-20250807174701-e14175eb6539) |
| Go | github.com/mattermost/mattermost-server | From 10.11.0 before 10.11.2 (fixed in 10.11.2) |
| Go | github.com/mattermost/mattermost-server | From 10.10.0 before 10.10.3 (fixed in 10.10.3) |
| Go | github.com/mattermost/mattermost-server | From 10.5.0 before 10.5.11 (fixed in 10.5.11) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-58073
- https://github.com/mattermost/mattermost/commit/2096f975b2c0ebe95fb1078c3b1a527da574796d
- https://github.com/mattermost/mattermost/commit/39bd251fe4f66b7e847fc6d653221886347ff160
- https://github.com/mattermost/mattermost/commit/e14175eb65393bebc16dbb68a8105b3094b0f0dd
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates