ADVISORIES

GitHub Advisory Database

GHSA-322v-vh2g-qvpv

Mattermost Fails to Restrict Certain Operations on System Admins

Details

Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to restrict certain operations on system admins to only other system admins, which allows delegated granular administration users with the "Edit Other Users" permission to perform unauthorized modifications to system administrators via improper permission validation.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.2 (fixed in 10.5.2)
Gogithub.com/mattermost/mattermost-server
From 10.4.0 before 10.4.4 (fixed in 10.4.4)
Gogithub.com/mattermost/mattermost-server
From 9.11.0 before 9.11.10 (fixed in 9.11.10)
Gogithub.com/mattermost/mattermost/server/v8
From 10.5.0 before 10.5.2 (fixed in 10.5.2)
Gogithub.com/mattermost/mattermost/server/v8
From 10.4.0 before 10.4.4 (fixed in 10.4.4)
Gogithub.com/mattermost/mattermost/server/v8
From 9.11.0 before 9.11.10 (fixed in 9.11.10)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250227102013-aa4623a93199 (fixed in 8.0.0-20250227102013-aa4623a93199)

References