ADVISORIES

GitHub Advisory Database

GHSA-x3r8-2hmh-89f5

Mattermost has an Invite Token Replay Vulnerability via Channel Membership Manipulation

Details

Mattermost versions 10.11.x < 10.11.5, 11.0.x < 11.0.4, 10.12.x < 10.12.2 fail to invalidate remote cluster invite tokens when using the legacy (version 1) protocol or when the confirming party does not provide a refreshed token, which allows an attacker who has obtained an invite token to authenticate as the remote cluster and perform limited actions on shared channels even after the invitation has been legitimately confirmed.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost
From 10.12.0 before 10.12.2 (fixed in 10.12.2)
Gogithub.com/mattermost/mattermost
From 10.11.0-rc1 before 10.11.5 (fixed in 10.11.5)
Gogithub.com/mattermost/mattermost
From 11.0.0-alpha.1 before 11.0.4 (fixed in 11.0.4)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20251031095924-e7e23b94e006 (fixed in 8.0.0-20251031095924-e7e23b94e006)
Gogithub.com/mattermost/mattermost-server
All versions before 11.0.4 (fixed in 11.0.4)

References