# CVE-2024-8071: System Role with edit access to permissions can elevate themselves to system admin

- Severity: Medium 4.7 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-08-22T06:39:54.830Z
- Modified: 2026-06-17T08:21:48.543Z
- Also known as: GHSA-5263-pm2h-m7hw, GO-2024-3094
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.9.0 up to 9.9.1; from 9.5.0 up to 9.5.7; 9.10.0; from 9.8.0 up to 9.8.2; from 9.5.0 before 9.5.8; from 9.8.0 before 9.8.3; from 9.9.0 before 9.9.2; from 9.10.0 before 9.10.1 (not affected: 9.11.0; 9.9.2; 9.5.8; 9.10.1; 9.8.3)
- github.com/mattermost/mattermost/server/v8 (Go): from 9.9.0 before 9.9.2; from 9.5.0 before 9.5.8; from 9.10.0 before 9.10.1; from 9.8.0 before 9.8.3; all versions
- github.com/mattermost/mattermost-server (Go): from 9.5.0+incompatible before 9.5.8+incompatible; from 9.8.0+incompatible before 9.8.3+incompatible; from 9.9.0+incompatible before 9.9.2+incompatible; from 9.10.0+incompatible before 9.10.1+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions

## Every score

- Mattermost: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8071> (advisory)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-5263-pm2h-m7hw> (advisory)

## Sources

- CVE List: [CVE-2024-8071](https://www.cve.org/CVERecord?id=CVE-2024-8071), CVE Terms of Use, modified 2024-08-22
- GitHub Advisory Database: [GHSA-5263-pm2h-m7hw](https://github.com/advisories/GHSA-5263-pm2h-m7hw), CC-BY-4.0, modified 2024-08-30
- Go Vulnerability Database: [GO-2024-3094](https://pkg.go.dev/vuln/GO-2024-3094), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-8071](https://nvd.nist.gov/vuln/detail/CVE-2024-8071), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8071 · Whole record: https://cve.day/CVE-2024-8071.json · Rebuilt by cve.day 2026-11-25T22:58:44.660Z
