{"id":"CVE-2024-8071","aliases":["GHSA-5263-pm2h-m7hw","GO-2024-3094"],"url":"https://o3.security/vulnerability/CVE-2024-8071","summary":"System Role with edit access to permissions can elevate themselves to system admin","details":"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.","published":"2024-08-22T06:39:54.830Z","modified":"2026-08-12T03:51:12.222636246Z","cvss":{"score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"},"epss":{"score":0.00344,"percentile":0.27614,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"9.9.2"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"9.5.8"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"9.10.1"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"9.8.3"}],"fix":null,"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8071.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8071"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:12.222636246Z"}}