ADVISORIES

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

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250815100400-2d5cdc6e217e (fixed in 8.0.0-20250815100400-2d5cdc6e217e)
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.2 (fixed in 10.11.2)
Gogithub.com/mattermost/mattermost-server
From 10.10.0 before 10.10.3 (fixed in 10.10.3)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.11 (fixed in 10.5.11)

References