CVE-2024-8071 json
System Role with edit access to permissions can elevate themselves to system admin
published 2024-08-22 2 y ago modified 2026-06-17 4 mo ago also GHSA-5263-pm2h-m7hw , GO-2024-3094 , EUVD-2024-2499
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 9.5.8, 9.8.3, 9.9.2, 9.10.1
- go github.com/mattermost/mattermost-server 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible
- Mattermost Mattermost 9.5.8, 9.8.3, 9.9.2, 9.10.1, 9.11.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | >=9.9.0, <9.9.2 >=9.5.0, <9.5.8 >=9.10.0, <9.10.1 >=9.8.0, <9.8.3 all versions |
9.9.2 9.5.8 9.10.1 9.8.3 |
| go | github.com/mattermost/mattermost-server | >=9.5.0+incompatible, <9.5.8+incompatible >=9.8.0+incompatible, <9.8.3+incompatible >=9.9.0+incompatible, <9.9.2+incompatible >=9.10.0+incompatible, <9.10.1+incompatible |
9.5.8+incompatible 9.8.3+incompatible 9.9.2+incompatible 9.10.1+incompatible |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-8071
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-5263-pm2h-m7hw
advisory
Sources
- CVE List CVE-2024-8071
- GitHub Advisory GHSA-5263-pm2h-m7hw
- NVD CVE-2024-8071
- OSV GO-2024-3094
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.