ADVISORIES

GitHub Advisory Database

GHSA-424h-xj87-m937

Mattermost has an Incorrect Authorization vulnerability

Details

Mattermost versions 10.5.x <= 10.5.10, 10.11.x <= 10.11.2 fail to properly validate guest user permissions when adding channel members which allows guest users to add any team members to their private channels via the /api/v4/channels/{channel_id}/members endpoint

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250820115038-ff30b84049f0 (fixed in 8.0.0-20250820115038-ff30b84049f0)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.11 (fixed in 10.5.11)
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.3 (fixed in 10.11.3)

References