GitHub Advisory Database
GHSA-r6qj-894f-5hr2
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 RelayState.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20250815100400-2d5cdc6e217e (fixed in 8.0.0-20250815100400-2d5cdc6e217e) |
| 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-58075
- https://github.com/mattermost/mattermost/commit/0e478b2d895e89143c7732c7b33e16d98ace663d
- https://github.com/mattermost/mattermost/commit/2d5cdc6e217eb244e7f2122cb89f85140b6d982a
- https://github.com/mattermost/mattermost/commit/7a2ac23e207429d7db8acc3770908c15c0b5c33e
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates