CVE-2024-8071

System Role with edit access to permissions can elevate themselves to system admin

Published Aug 22, 2024 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2499 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.
Github GHSA Github GHSA GHSA-5263-pm2h-m7hw Mattermost doesn't restrict which roles can promote a user as system admin
References
History
Type Values Removed Values Added
First Time appeared Mattermost
Mattermost mattermost
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
Vendors & Products Mattermost
Mattermost mattermost
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title System Role with edit access to permissions can elevate themselves to system admin
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mattermost
Published
Updated
Aug 22, 2024, 1:33 PM
Reserved
Aug 22, 2024, 6:35 AM
Status
Analyzed
Published
Aug 22, 2024, 7:15 AM
Modified
Jun 17, 2026, 8:21 AM