ADVISORIES

GitHub Advisory Database

GHSA-mqcj-8c2g-h97q

Mattermost Incorrect Authorization vulnerability

Details

Mattermost versions 10.11.x <= 10.11.3, 10.5.x <= 10.5.11 fail to properly validate team membership permissions in the Add Channel Member API, which allows users from one team to access user metadata and channel membership information from other teams via the API endpoint.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.4 (fixed in 10.11.4)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.12 (fixed in 10.5.12)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250905150616-ba86dfc5876b (fixed in 8.0.0-20250905150616-ba86dfc5876b)
Gogithub.com/mattermost/mattermost
All versions before 5.3.2-0.20250905150616-ba86dfc5876b (fixed in 5.3.2-0.20250905150616-ba86dfc5876b)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20250905150616-ba86dfc5876b (fixed in 5.3.2-0.20250905150616-ba86dfc5876b)
Gogithub.com/mattermost/mattermost-server/v5
All versions before 5.3.2-0.20250905150616-ba86dfc5876b (fixed in 5.3.2-0.20250905150616-ba86dfc5876b)
Gogithub.com/mattermost/mattermost-server/v6
All versions before 5.3.2-0.20250905150616-ba86dfc5876b (fixed in 5.3.2-0.20250905150616-ba86dfc5876b)

References