{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-8071","id":"CVE-2024-8071","title":"System Role with edit access to permissions can elevate themselves to system admin","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.","descriptionLong":"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","updated":"2026-10-28T02:31:02.648799432Z","reserved":"2024-08-22T06:35:49.726Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"Mattermost"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"9.9.1","status":"affected","version":"9.9.0","versionType":"semver"},{"lessThanOrEqual":"9.5.7","status":"affected","version":"9.5.0","versionType":"semver"},{"status":"affected","version":"9.10.0"},{"lessThanOrEqual":"9.8.2","status":"affected","version":"9.8.0","versionType":"semver"},{"status":"unaffected","version":"9.11.0"},{"status":"unaffected","version":"9.9.2"},{"status":"unaffected","version":"9.5.8"},{"status":"unaffected","version":"9.10.1"},{"status":"unaffected","version":"9.8.3"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=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"],"fixed":["9.9.2","9.5.8","9.10.1","9.8.3"],"advisory":"GHSA-5263-pm2h-m7hw"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["9.5.8+incompatible","9.8.3+incompatible","9.9.2+incompatible","9.10.1+incompatible"],"advisory":"GO-2024-3094"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-3094"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-3094"}],"cwes":["CWE-284"],"aliases":["GHSA-5263-pm2h-m7hw","GO-2024-3094"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8071.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8071","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://github.com/advisories/GHSA-5263-pm2h-m7hw","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00344,"epssPercentile":0.28476,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-8071","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8071","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-8071","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5263-pm2h-m7hw","ok":true,"note":"GHSA-5263-pm2h-m7hw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-8071","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}