CVE-2024-8071: Mattermost doesn't restrict which roles can promote a user as system admin
Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0 and 9.8.x <= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the managesystem permission, effectively becoming a System Admin.
Published Aug 22, 2024 · Updated Aug 23, 2024
Affected packages
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.9.0, < 9.9.2
- Fixed in
- 9.9.2
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.5.0, < 9.5.8
- Fixed in
- 9.5.8
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.10.0, < 9.10.1
- Fixed in
- 9.10.1
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.8.0, < 9.8.3
- Fixed in
- 9.8.3
- Check
go list -m github.com/mattermost/mattermost/server/v8
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0 and 9.8.x <= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the manage_system permission, effectively becoming a System Admin.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-3433
Mattermost doesn't restrict role_updated websocket event broadcasts to members of the affected team or channel
medium4.3Jun 12, 2026CVE-2026-6046
Mattermost doesn't validate that a username returned during bot registration belongs to a bot account
medium5.3Jun 12, 2026CVE-2026-6689
Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation
medium4.3Jun 12, 2026CVE-2026-6739
Mattermost doesn't require system-level permission when patching protected default system roles
medium6.7Jun 12, 2026CVE-2026-6961
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
high7.6Jun 12, 2026
